Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/codec
ByteOutputBuffer
Class ByteOutputBuffer
Hierarchy
OutputBuffer
<
Uint8Array
>
ByteOutputBuffer
Index
Constructors
constructor
Properties
array
index
limit
part
settings
Accessors
capacity
remaining
Methods
as
Part
bind
clone
debug
display
flush
get
has
is
Cont
is
Done
is
Error
is
Full
is
Part
push
set
step
trap
with
Index
with
Limit
with
Settings
write
writeln
create
done
error
full
Constructors
constructor
new
Byte
Output
Buffer
(
array
:
Uint8Array
, index
:
number
, limit
:
number
, part
:
boolean
, settings
:
OutputSettings
)
:
ByteOutputBuffer
Parameters
array:
Uint8Array
index:
number
limit:
number
part:
boolean
settings:
OutputSettings
Returns
ByteOutputBuffer
Properties
Readonly
array
array
:
Uint8Array
Readonly
index
index
:
number
Readonly
limit
limit
:
number
Readonly
part
part
:
boolean
Readonly
settings
settings
:
OutputSettings
Accessors
capacity
get
capacity
(
)
:
number
Returns
number
remaining
get
remaining
(
)
:
number
Returns
number
Methods
as
Part
as
Part
(
part
:
boolean
)
:
OutputBuffer
<
Uint8Array
>
Parameters
part:
boolean
Returns
OutputBuffer
<
Uint8Array
>
bind
bind
(
)
:
Uint8Array
Returns
Uint8Array
clone
clone
(
)
:
OutputBuffer
<
Uint8Array
>
Returns
OutputBuffer
<
Uint8Array
>
debug
debug
(
object
:
unknown
)
:
OutputBuffer
<
Uint8Array
>
Parameters
object:
unknown
Returns
OutputBuffer
<
Uint8Array
>
display
display
(
object
:
unknown
)
:
OutputBuffer
<
Uint8Array
>
Parameters
object:
unknown
Returns
OutputBuffer
<
Uint8Array
>
flush
flush
(
)
:
OutputBuffer
<
Uint8Array
>
Returns
OutputBuffer
<
Uint8Array
>
get
get
(
index
:
number
)
:
number
Parameters
index:
number
Returns
number
has
has
(
index
:
number
)
:
boolean
Parameters
index:
number
Returns
boolean
is
Cont
is
Cont
(
)
:
boolean
Returns
boolean
is
Done
is
Done
(
)
:
boolean
Returns
boolean
is
Error
is
Error
(
)
:
boolean
Returns
boolean
is
Full
is
Full
(
)
:
boolean
Returns
boolean
is
Part
is
Part
(
)
:
boolean
Returns
boolean
push
push
(
...
tokens
:
number
[]
)
:
void
Parameters
Rest
...
tokens:
number
[]
Returns
void
set
set
(
index
:
number
, token
:
number
)
:
void
Parameters
index:
number
token:
number
Returns
void
step
step
(
offset
:
number
)
:
OutputBuffer
<
Uint8Array
>
Parameters
offset:
number
Returns
OutputBuffer
<
Uint8Array
>
trap
trap
(
)
:
Error
Returns
Error
with
Index
with
Index
(
index
:
number
)
:
OutputBuffer
<
Uint8Array
>
Parameters
index:
number
Returns
OutputBuffer
<
Uint8Array
>
with
Limit
with
Limit
(
limit
:
number
)
:
OutputBuffer
<
Uint8Array
>
Parameters
limit:
number
Returns
OutputBuffer
<
Uint8Array
>
with
Settings
with
Settings
(
settings
:
AnyOutputSettings
)
:
OutputBuffer
<
Uint8Array
>
Parameters
settings:
AnyOutputSettings
Returns
OutputBuffer
<
Uint8Array
>
write
write
(
token
:
string
|
number
)
:
OutputBuffer
<
Uint8Array
>
Parameters
token:
string
|
number
Returns
OutputBuffer
<
Uint8Array
>
writeln
writeln
(
string
?:
string
)
:
OutputBuffer
<
Uint8Array
>
Parameters
Optional
string:
string
Returns
OutputBuffer
<
Uint8Array
>
Static
create
create
(
array
:
Uint8Array
, offset
?:
number
, length
?:
number
)
:
OutputBuffer
<
Uint8Array
>
Parameters
array:
Uint8Array
Optional
offset:
number
Optional
length:
number
Returns
OutputBuffer
<
Uint8Array
>
Static
done
done
(
)
:
OutputBuffer
<
never
>
Returns
OutputBuffer
<
never
>
Static
error
error
(
error
:
Error
)
:
OutputBuffer
<
never
>
Parameters
error:
Error
Returns
OutputBuffer
<
never
>
Static
full
full
(
)
:
OutputBuffer
<
never
>
Returns
OutputBuffer
<
never
>
Modules
@swim/system
@swim/core
@swim/util
@swim/codec
@swim/mapping
@swim/collections
@swim/constraint
@swim/structure
@swim/streamlet
@swim/dataflow
@swim/recon
@swim/uri
@swim/math
@swim/geo
@swim/time
@swim/mesh
@swim/toolkit
Byte
Output
Buffer
constructor
array
index
limit
part
settings
capacity
remaining
as
Part
bind
clone
debug
display
flush
get
has
is
Cont
is
Done
is
Error
is
Full
is
Part
push
set
step
trap
with
Index
with
Limit
with
Settings
write
writeln
create
done
error
full
Generated using
TypeDoc