LockableBytesBuilder class

Constructors

LockableBytesBuilder()
factory

Properties

hashCode → int
The hash code for this object.
read-only, inherited
isEmpty → bool
Returns true if the buffer is empty.
read-only, inherited
isNotEmpty → bool
Returns true if the buffer is not empty.
read-only, inherited
length → int
The number of bytes in the builder.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

lock() → void
add(List<int> bytes) → void
Appends bytes to the current contents of the builder.
inherited
addByte(int byte) → void
Append byte to the current contents of the builder.
inherited
clear() → void
Clear the contents of the builder.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
takeBytes() → Uint8List
Returns the contents of this and clears this.
inherited
toBytes() → Uint8List
Returns a copy of the current contents of the builder.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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