sqlj.runtime.BinaryStream class
The sqlj.runtime.BinaryStream class is for an input stream of binary data with a specified length.
The sqlj.runtime.BinaryStream class is derived from the java.io.InputStream class, and extends the sqlj.runtime.StreamWrapper class. SQLJ interprets the bytes in an sqlj.runtime.BinaryStream object are interpreted as Binary characters. An InputStream object with Binary characters needs to be passed as a sqlj.runtime.BinaryStream object.
Constructors
- BinaryStream(InputStream)
- Format:
public BinaryStream(java.io.InputStream input-stream)
Creates an Binary java.io.InputStream object with an unspecified length.
Parameters:- input-stream
- The InputStream object that SQLJ interprets as an BinaryStream object.
- BinaryStream(InputStream, int)
- Format:
public BinaryStream(java.io.InputStream input-stream, int length)
Creates an Binary java.io.InputStream object with a specified length.
Parameters:- input-stream
- The InputStream object that SQLJ interprets as an BinaryStream object.
- length
- The length of the InputStream object that SQLJ interprets as an BinaryStream object.