Uint8ListWriter class final

Fixed-capacity writer over a caller-owned Uint8List.

Implemented types
Available extensions

Constructors

Uint8ListWriter(Uint8List bytes, {int start = 0, int? end})

Properties

bytes → Uint8List
final
hashCode → int
The hash code for this object.
no setterinherited
position → int
no setter
remaining → int
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

flush() → Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
writeAll(IoSlice src) → Future<void>

Available on AsyncWrite, provided by the AsyncWriteExt extension

Writes all bytes in src, looping over short writes.
writeFloat64(double value, {Endian endian = Endian.big}) → Future<void>

Available on AsyncWrite, provided by the AsyncWriteExt extension

writeFrom(IoSlice src) → Future<int>
override
writeUint16(int value, {Endian endian = Endian.big}) → Future<void>

Available on AsyncWrite, provided by the AsyncWriteExt extension

writeUint32(int value, {Endian endian = Endian.big}) → Future<void>

Available on AsyncWrite, provided by the AsyncWriteExt extension

writeUint64(Uint64 value, {Endian endian = Endian.big}) → Future<void>

Available on AsyncWrite, provided by the AsyncWriteExt extension

writeUint8(int value) → Future<void>

Available on AsyncWrite, provided by the AsyncWriteExt extension

Operators

operator ==(Object other) → bool
The equality operator.
inherited