ByteBufferDataInputStream constructor
Create a stream that takes its data from source with the given
initial endian
setting. Choose Endian.big
for interoperability with java.io.DataInputStream
.
Implementation
ByteBufferDataInputStream(List<int> source, [Endian endian = Endian.big])
: this._internal(
source is Uint8List ? source : Uint8List.fromList(source), endian);