Uses of Class
org.geolatte.geom.ByteBuffer
-
Packages that use ByteBuffer Package Description org.geolatte.geom A model for geospatial geometries.org.geolatte.geom.codec Encoder/Decoder classes for serializing Geometries and Coordinate Reference Systems. -
-
Uses of ByteBuffer in org.geolatte.geom
Methods in org.geolatte.geom that return ByteBuffer Modifier and Type Method Description static ByteBufferByteBuffer. allocate(int capacity)Allocates a newByteBufferof the specified capacity.static ByteBufferByteBuffer. from(byte[] bytes)Wraps a byte array into aByteBuffer.static ByteBufferByteBuffer. from(String hexString)Creates aByteBufferfrom a hexadecimal string.Methods in org.geolatte.geom with parameters of type ByteBuffer Modifier and Type Method Description booleanByteBuffer. hasSameContent(ByteBuffer other)Used for testing purposes. -
Uses of ByteBuffer in org.geolatte.geom.codec
Methods in org.geolatte.geom.codec that return ByteBuffer Modifier and Type Method Description <P extends Position>
ByteBufferWkbEncoder. encode(Geometry<P> geometry, ByteOrder byteOrder)Encodes aGeometryto its WKB representationstatic ByteBufferWkb. toWkb(Geometry geometry)Encodes aGeometryinto a WKB representation using the NDR (little-endian) byte-order.static ByteBufferWkb. toWkb(Geometry<?> geometry, ByteOrder byteOrder)Encodes aGeometryinto a WKB representation using the specified byte-order.Methods in org.geolatte.geom.codec with parameters of type ByteBuffer Modifier and Type Method Description Geometry<?>WkbDecoder. decode(ByteBuffer byteBuffer)Decodes a WKB encoded representation of aGeometry<P extends Position>
Geometry<P>WkbDecoder. decode(ByteBuffer byteBuffer, CoordinateReferenceSystem<P> crs)Decodes a WKB encoded representation of aGeometry, assuming the specifiedCoordinateReferenceSystemstatic Geometry<?>Wkb. fromWkb(ByteBuffer byteBuffer)Decodes a WKB representation in aByteBufferto aGeometry.
-