DartCodecBufferHolder class
CodecBufferHolder for constructing DartCodecBuffer instances.
- Inheritance
-
- Object
- CodecBufferHolder<
DartHeapPointer, DartCodecBuffer> - DartCodecBufferHolder
Constructors
- DartCodecBufferHolder(int length)
- Construct a DartCodecBufferHolder which generates DartCodecBuffers
Properties
- buffer → DartCodecBuffer
-
Returns a constructed CodecBuffer.
no setterinherited
- bufferBuilderFunc ↔ DartCodecBuffer Function(int length)
-
Custom function which takes a length and answers a CodecBuffer.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- length ↔ int
-
Returns buffer length (bytes) or a default value.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isBufferSet(
) → bool -
Return
true
if buffer is set,false
otherwise.inherited -
isLengthSet(
) → bool -
Return
true
if length is set,false
otherwise.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
) → void -
Release the memory for any existing buffer if necessary.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited