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.Object
Helper 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) byte
readByte()
Reads one byte.(package private) double
readCoordinate()
Reads a 64-bit floating point using current byte order.(package private) int
readInt()
Reads a 32-bit integer using current byte order.java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-