OutputStream class Null safety
- Inheritance
-
- Object
- OutputStreamBase
- OutputStream
Constructors
- OutputStream({int? size = _blockSize, int byteOrder = LITTLE_ENDIAN})
- Create a byte buffer for writing.
Properties
Methods
-
clear(
) → void - Clear the buffer.
-
flush(
) → void -
override
-
getBytes(
) → List< int> - Get the resulting bytes from the buffer.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
reset(
) → void - Reset the buffer.
-
subset(
int start, [int? end]) → List< int> -
Return the subset of the buffer in the range
start:end
. -
toString(
) → String -
A string representation of this object.
inherited
-
writeByte(
int value) → void -
Write a byte to the end of the buffer.
override
-
writeBytes(
List< int> bytes, [int? len]) → void -
Write a set of bytes to the end of the buffer.
override
-
writeInputStream(
InputStreamBase stream) → void -
Write an InputStream to the output stream.
override
-
writeUint16(
int value) → void -
Write a 16-bit word to the end of the buffer.
override
-
writeUint32(
int value) → void -
Write a 32-bit word to the end of the buffer.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited