KevyBuf class final

A buffer owned by kevy. Never free() it — free it with the function paired to the call that produced it (kevy_buf_free for most, kevy_buf_free_shared for kevy_get_shared; passing a shared-lane buffer to kevy_buf_free corrupts the heap). All three fields must reach that free untouched.

Inheritance
Implemented types
Available extensions

Constructors

KevyBuf()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
cap int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
len int
getter/setter pair
ptr Pointer<Uint8>
getter/setter pair
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