OutputBuffer class

Constructors

OutputBuffer({int size: _BLOCK_SIZE, bool bigEndian: false})
Create a byte buffer for writing.

Properties

bigEndian bool
final
hashCode int
The hash code for this object. [...]
read-only, inherited
length int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clear() → void
Clear the buffer.
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
rewind() → void
subset(int start, [int end]) List<int>
Return the subset of the buffer in the range start:end. If start or end are < 0 then it is relative to the end of the buffer. If end is not specified (or null), then it is the end of the buffer. This is equivalent to the python list range operator.
toString() String
Returns a string representation of this object.
inherited
writeBuffer(InputBuffer bytes) → void
writeByte(int value) → void
Write a byte to the end of the buffer.
writeBytes(List<int> bytes, [int len]) → void
Write a set of bytes to the end of the buffer.
writeUint16(int value) → void
Write a 16-bit word to the end of the buffer.
writeUint32(int value) → void
Write a 32-bit word to the end of the buffer.

Operators

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