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
OutputBuffer
Class OutputBuffer<T>
Type parameters
T =
unknown
Hierarchy
Output
<
T
>
OutputBuffer
OutputBufferFull
OutputBufferDone
OutputBufferError
ByteOutputBuffer
Index
Constructors
constructor
Properties
capacity
index
limit
remaining
settings
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
done
error
full
Constructors
constructor
new
Output
Buffer<T>
(
)
:
OutputBuffer
<
T
>
Type parameters
T =
unknown
Returns
OutputBuffer
<
T
>
Properties
Readonly
Abstract
capacity
capacity
:
number
Readonly
Abstract
index
index
:
number
Readonly
Abstract
limit
limit
:
number
Readonly
Abstract
remaining
remaining
:
number
Readonly
Abstract
settings
settings
:
OutputSettings
Methods
Abstract
as
Part
as
Part
(
part
:
boolean
)
:
OutputBuffer
<
T
>
Parameters
part:
boolean
Returns
OutputBuffer
<
T
>
Abstract
bind
bind
(
)
:
T
Returns
T
clone
clone
(
)
:
OutputBuffer
<
T
>
Returns
OutputBuffer
<
T
>
debug
debug
(
object
:
unknown
)
:
OutputBuffer
<
T
>
Parameters
object:
unknown
Returns
OutputBuffer
<
T
>
display
display
(
object
:
unknown
)
:
OutputBuffer
<
T
>
Parameters
object:
unknown
Returns
OutputBuffer
<
T
>
flush
flush
(
)
:
OutputBuffer
<
T
>
Returns
OutputBuffer
<
T
>
Abstract
get
get
(
index
:
number
)
:
number
Parameters
index:
number
Returns
number
Abstract
has
has
(
index
:
number
)
:
boolean
Parameters
index:
number
Returns
boolean
Abstract
is
Cont
is
Cont
(
)
:
boolean
Returns
boolean
Abstract
is
Done
is
Done
(
)
:
boolean
Returns
boolean
Abstract
is
Error
is
Error
(
)
:
boolean
Returns
boolean
Abstract
is
Full
is
Full
(
)
:
boolean
Returns
boolean
Abstract
is
Part
is
Part
(
)
:
boolean
Returns
boolean
push
push
(
...
tokens
:
number
[]
)
:
void
Parameters
Rest
...
tokens:
number
[]
Returns
void
Abstract
set
set
(
index
:
number
, token
:
number
)
:
void
Parameters
index:
number
token:
number
Returns
void
Abstract
step
step
(
offset
?:
number
)
:
OutputBuffer
<
T
>
Parameters
Optional
offset:
number
Returns
OutputBuffer
<
T
>
trap
trap
(
)
:
Error
Returns
Error
Abstract
with
Index
with
Index
(
index
:
number
)
:
OutputBuffer
<
T
>
Parameters
index:
number
Returns
OutputBuffer
<
T
>
Abstract
with
Limit
with
Limit
(
limit
:
number
)
:
OutputBuffer
<
T
>
Parameters
limit:
number
Returns
OutputBuffer
<
T
>
Abstract
with
Settings
with
Settings
(
settings
:
AnyOutputSettings
)
:
Output
<
T
>
Parameters
settings:
AnyOutputSettings
Returns
Output
<
T
>
Abstract
write
write
(
token
:
number
)
:
OutputBuffer
<
T
>
write
(
string
:
string
)
:
OutputBuffer
<
T
>
Parameters
token:
number
Returns
OutputBuffer
<
T
>
Parameters
string:
string
Returns
OutputBuffer
<
T
>
writeln
writeln
(
string
?:
string
)
:
OutputBuffer
<
T
>
Parameters
Optional
string:
string
Returns
OutputBuffer
<
T
>
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
Output
Buffer
constructor
capacity
index
limit
remaining
settings
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
done
error
full
Generated using
TypeDoc