Constructs a data input stream that reads from a given underlying byte input stream.
Delegates reading to the underlying stream.
Reads a value from the stream and returns either the value that was read successfully, or an error message. If you want to ignore errors, you can use readFromStreamOrDefault instead.
Reads a value from the stream, or return a default value if reading fails for any reason.
An input stream that is wrapped around a byte input stream, so that values may be read from the stream as bytes.