dataInputStreamFor

Creates and returns a data input stream that's wrapped around the given byte input stream.

Parameters

stream S

The stream to wrap in a data input stream.

endianness Endianness

The byte order of the resource that this stream is reading from. Defaults to the system byte order.

Return Value

Type: DataInputStream!S

The data input stream.

Meta