Class: Pointer
A pointer to a position in a buffer.
This is used to keep track of the current position in a buffer while allowing the position to be updated by multiple different functions.
Constructors
new Pointer()
new Pointer():
Pointer
Returns
Properties
#value
private
#value:number
=0
Defined in
Accessors
value
Get Signature
get value():
number
Returns
number
Defined in
Methods
add()
add(
value
:number
):Pointer
Parameters
Parameter | Type |
---|---|
value | number |
Returns
Defined in
from()
static
from(pointer
:PointerLike
):Pointer
Parameters
Parameter | Type |
---|---|
pointer | PointerLike |