Search
Preparing search index...
The search index is not available
Ion-JS Library
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Ion-JS Library
IonSpan
BinarySpan
Class BinarySpan
Hierarchy
Span
BinarySpan
Index
Constructors
constructor
Methods
chunk
clone
get
Remaining
is_
empty
next
peek
position
set
Remaining
skip
unread
value
At
view
write
error
Constructors
constructor
new
Binary
Span
(
src
:
Uint8Array
)
:
BinarySpan
Parameters
src:
Uint8Array
Returns
BinarySpan
Methods
chunk
chunk
(
length
:
number
)
:
Uint8Array
Parameters
length:
number
Returns
Uint8Array
clone
clone
(
start
:
number
, len
:
number
)
:
BinarySpan
Parameters
start:
number
len:
number
Returns
BinarySpan
get
Remaining
get
Remaining
(
)
:
number
Returns
number
is_
empty
is_
empty
(
)
:
boolean
Returns
boolean
next
next
(
)
:
number
Returns
number
peek
peek
(
)
:
number
Returns
number
position
position
(
)
:
number
Returns
number
set
Remaining
set
Remaining
(
r
:
number
)
:
void
Parameters
r:
number
Returns
void
skip
skip
(
dist
:
number
)
:
void
Parameters
dist:
number
Returns
void
unread
unread
(
b
:
number
)
:
void
Parameters
b:
number
Returns
void
value
At
value
At
(
ii
:
number
)
:
number
Parameters
ii:
number
Returns
number
view
view
(
length
:
number
)
:
Uint8Array
Parameters
length:
number
Returns
Uint8Array
write
write
(
b
:
number
)
:
never
Parameters
b:
number
Returns
never
Static
error
error
(
)
:
void
Returns
void
Modules
Ion
Span
Binary
Span
constructor
chunk
clone
get
Remaining
is_
empty
next
peek
position
set
Remaining
skip
unread
value
At
view
write
error
Span
String
Span