BufWriter<W extends AsyncWrite> class final

Buffered writer; flushes when its buffer fills.

Implemented types
Available extensions

Constructors

BufWriter(W inner, {int capacity = 64 * 1024})

Properties

hashCode → int
The hash code for this object.
no setterinherited
inner → W
final
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