BufferWriter class

Buffer Writer

Constructors

BufferWriter(int length)
Creates a zero initialised buffer of size length that maintains its offset position while writing data to the buffer.

Properties

buffer Buffer
The buffer to write to.
final
hashCode int
The hash code for this object.
no setterinherited
offset int
The current offset.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

convert(int value, int length, [Endian endian = Endian.little]) List<int>
Converts an integer value to a byte array of size length in endian format.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(Iterable<int> bytes) → void
Writes a byte array to a region of buffer starting at offset. The internal offset is advanced by bytes.length.
toString() String
A string representation of this object.
override

Operators

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