Class BinaryCodec

java.lang.Object
org.locationtech.spatial4j.io.BinaryCodec
Direct Known Subclasses:
JtsBinaryCodec

public class BinaryCodec extends Object
A binary shape format. It is not designed to be a published standard, unlike Well Known Binary (WKB). The initial release is simple but it could get more optimized to use fewer bytes or to write & read pre-computed index structures.

Immutable and thread-safe.