Package org.locationtech.jts.io
Class ByteArrayInStream
- java.lang.Object
-
- org.locationtech.jts.io.ByteArrayInStream
-
-
Constructor Summary
Constructors Constructor Description ByteArrayInStream(byte[] buffer)
Creates a new stream based on the given buffer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
read(byte[] buf)
Reads up to buf.length bytes from the stream into the given byte buffer.void
setBytes(byte[] buffer)
Sets this stream to read from the given buffer
-