Package org.locationtech.jts.io
Class InputStreamInStream
java.lang.Object
org.locationtech.jts.io.InputStreamInStream
- All Implemented Interfaces:
InStream
An adapter to allow an
InputStream
to be used as an InStream
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
read
(byte[] buf) Readsbuf.length
bytes from the input stream and stores them in the supplied buffer.
-
Field Details
-
is
-
-
Constructor Details
-
InputStreamInStream
-
-
Method Details
-
read
Description copied from interface:InStream
Readsbuf.length
bytes from the input stream and stores them in the supplied buffer.- Specified by:
read
in interfaceInStream
- Parameters:
buf
- the buffer to receive the bytes- Throws:
IOException
- if an I/O error occurs
-