protected class WKB.WKBInputStream extends java.lang.Object implements WKInputStream
Modifier and Type | Field and Description |
---|---|
protected int[] |
dimension |
protected java.io.DataInputStream |
m_is |
Constructor and Description |
---|
WKBInputStream(byte[] wkb) |
Modifier and Type | Method and Description |
---|---|
int |
getDimensions() |
int |
readByte() |
ByteOrder |
readByteOrder() |
double |
readDouble(ByteOrder byteOrder) |
void |
readEndList() |
void |
readEndListOrSeparator() |
int |
readInnerLabel() |
int |
readLabel(ByteOrder byteOrder,
int outerLabel) |
void |
readSeparator() |
void |
readStartList() |
int |
readStartList(ByteOrder byteOrder) |
protected int |
readUInt32(ByteOrder byteOrder) |
public double readDouble(ByteOrder byteOrder)
readDouble
in interface WKInputStream
protected int readUInt32(ByteOrder byteOrder)
public void readStartList()
readStartList
in interface WKInputStream
public int readStartList(ByteOrder byteOrder)
readStartList
in interface WKInputStream
public void readEndList()
readEndList
in interface WKInputStream
public void readEndListOrSeparator()
readEndListOrSeparator
in interface WKInputStream
public void readSeparator()
readSeparator
in interface WKInputStream
public int getDimensions()
getDimensions
in interface WKInputStream
public int readLabel(ByteOrder byteOrder, int outerLabel)
readLabel
in interface WKInputStream
public int readInnerLabel()
readInnerLabel
in interface WKInputStream
public int readByte() throws GeometryExceptionWithContext
readByte
in interface WKInputStream
GeometryExceptionWithContext
public ByteOrder readByteOrder() throws GeometryExceptionWithContext
readByteOrder
in interface WKInputStream
GeometryExceptionWithContext