wt_buffer_t class final

Opaque handle to a native byte buffer.

Create with wt_buffer_new, release with wt_buffer_free. The pointer returned by wt_buffer_data stays valid until the handle is released (including by every wt_recv_stream_read that referenced it).

Inheritance
Implemented types
Available extensions

Constructors

wt_buffer_t()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

$allocate(Allocator $allocator, {required Pointer<Void> $opaque}) → Pointer<wt_buffer_t>