com.vividsolutions.jts.io
Class InputStreamInStream
java.lang.Objectcom.vividsolutions.jts.io.InputStreamInStream
- InStream
public class InputStreamInStream
extends java.lang.Object
An adapter to allow an
InputStream to be used as an
InStream
void | read(byte[] buf)- Reads
buf.length bytes from the input stream
and stores them in the supplied buffer.
|
InputStreamInStream
public InputStreamInStream(InputStream is)
read
public void read(byte[] buf)
throws IOException Reads buf.length bytes from the input stream
and stores them in the supplied buffer.
- read in interface InStream
buf - the buffer to receive the bytes