BytesMutAsyncWriter class final

Growable writer backed by BytesMut.

Implemented types
Available extensions

Constructors

BytesMutAsyncWriter([BytesMut? mut])

Properties

hashCode → int
The hash code for this object.
no setterinherited
mut → BytesMut
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

flush() → Future<void>
override
freeze() → Bytes
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