Package org.h2.util.geometry
Class EWKBUtils.EWKBSource
- java.lang.Object
-
- org.h2.util.geometry.EWKBUtils.EWKBSource
-
- Enclosing class:
- EWKBUtils
private static final class EWKBUtils.EWKBSource extends java.lang.ObjectHelper source object for EWKB reading.
-
-
Constructor Summary
Constructors Constructor Description EWKBSource(byte[] ewkb)Creates new instance of EWKB source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) bytereadByte()Reads one byte.(package private) doublereadCoordinate()Reads a 64-bit floating point using current byte order.(package private) intreadInt()Reads a 32-bit integer using current byte order.java.lang.StringtoString()
-
-
-
Method Detail
-
readByte
byte readByte()
Reads one byte.- Returns:
- next byte
-
readInt
int readInt()
Reads a 32-bit integer using current byte order.- Returns:
- next 32-bit integer
-
readCoordinate
double readCoordinate()
Reads a 64-bit floating point using current byte order.- Returns:
- next 64-bit floating point
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-