A11 TypeScript API - v0.2.1
A11 guides
Python API
C++ internals
Preparing search index...
NodeRef
Class NodeRef
Reference to all or part of another logical node instead of inline bytes.
Index
Constructors
constructor
Properties
id
length
offset
Accessors
approx
Bytes
Methods
to
Msgpack
validate
create
from
Msgpack
Constructors
constructor
new
NodeRef
(
options
:
NodeRefOptions
)
:
NodeRef
Parameters
options
:
NodeRefOptions
Returns
NodeRef
Properties
id
id
:
string
length
length
:
number
|
null
offset
offset
:
number
Accessors
approx
Bytes
get
approxBytes
()
:
number
Returns
number
Methods
to
Msgpack
toMsgpack
()
:
StatusOr
<
Uint8Array
<
ArrayBufferLike
>
>
Returns
StatusOr
<
Uint8Array
<
ArrayBufferLike
>
>
validate
validate
()
:
Status
Returns
Status
Static
create
create
(
options
:
NodeRefOptions
)
:
StatusOr
<
NodeRef
>
Parameters
options
:
NodeRefOptions
Returns
StatusOr
<
NodeRef
>
Static
from
Msgpack
fromMsgpack
(
bytes
:
Uint8Array
)
:
StatusOr
<
NodeRef
>
Parameters
bytes
:
Uint8Array
Returns
StatusOr
<
NodeRef
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
id
length
offset
Accessors
approx
Bytes
Methods
to
Msgpack
validate
create
from
Msgpack
A11 guides
Python API
C++ internals
A11 TypeScript API - v0.2.1
Loading...
Reference to all or part of another logical node instead of inline bytes.