com.vividsolutions.jts.io
Interface InStream
- ByteArrayInStream, InputStreamInStream
public interface InStream
A interface for classes providing an input stream of bytes.
This interface is similar to the Java InputStream
,
but with a narrower interface to make it easier to implement.
void | read(byte[] buf) - Reads
buf.length bytes from the input stream
and stores them in the supplied buffer.
|
read
public void read(byte[] buf)
throws IOException
Reads buf.length
bytes from the input stream
and stores them in the supplied buffer.
buf
- the buffer to receive the bytes