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
StringWriter
Class StringWriter
Hierarchy
Writer
<
unknown
,
unknown
>
StringWriter
Index
Constructors
constructor
Properties
index
input
value
Methods
and
Then
as
Done
as
Error
bind
feed
fork
is
Cont
is
Done
is
Error
pull
trap
done
end
error
write
Constructors
constructor
new
String
Writer
(
value
:
unknown
, input
:
string
, index
?:
number
)
:
StringWriter
Parameters
value:
unknown
input:
string
Optional
index:
number
Returns
StringWriter
Properties
Readonly
index
index
:
number
Readonly
input
input
:
string
Readonly
value
value
:
unknown
Methods
and
Then
and
Then<O2>
(
that
:
Writer
<
unknown
,
O2
>
)
:
Writer
<
never
,
O2
>
Type parameters
O2
Parameters
that:
Writer
<
unknown
,
O2
>
Returns
Writer
<
never
,
O2
>
as
Done
as
Done<I2>
(
)
:
Writer
<
I2
,
unknown
>
Type parameters
I2
Returns
Writer
<
I2
,
unknown
>
as
Error
as
Error<I2, O2>
(
)
:
Writer
<
I2
,
O2
>
Type parameters
I2
O2
Returns
Writer
<
I2
,
O2
>
bind
bind
(
)
:
unknown
Returns
unknown
feed
feed
(
input
:
unknown
)
:
Writer
<
unknown
,
unknown
>
Parameters
input:
unknown
Returns
Writer
<
unknown
,
unknown
>
fork
fork
(
condition
:
unknown
)
:
Writer
<
unknown
,
unknown
>
Parameters
condition:
unknown
Returns
Writer
<
unknown
,
unknown
>
is
Cont
is
Cont
(
)
:
boolean
Returns
boolean
is
Done
is
Done
(
)
:
boolean
Returns
boolean
is
Error
is
Error
(
)
:
boolean
Returns
boolean
pull
pull
(
output
:
Output
<
unknown
>
)
:
Writer
<
unknown
,
unknown
>
Parameters
output:
Output
<
unknown
>
Returns
Writer
<
unknown
,
unknown
>
trap
trap
(
)
:
Error
Returns
Error
Static
done
done<I, O>
(
value
:
O
)
:
Writer
<
I
,
O
>
Type parameters
I
O
Parameters
value:
O
Returns
Writer
<
I
,
O
>
Static
end
end<I>
(
)
:
Writer
<
I
,
never
>
Type parameters
I
Returns
Writer
<
I
,
never
>
Static
error
error<I, O>
(
error
:
Error
)
:
Writer
<
I
,
O
>
Type parameters
I
O
Parameters
error:
Error
Returns
Writer
<
I
,
O
>
Static
write
write
(
output
:
Output
<
unknown
>
, value
:
unknown
, input
:
string
, index
?:
number
)
:
Writer
<
unknown
,
unknown
>
Parameters
output:
Output
<
unknown
>
value:
unknown
input:
string
Optional
index:
number
Returns
Writer
<
unknown
,
unknown
>
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
String
Writer
constructor
index
input
value
and
Then
as
Done
as
Error
bind
feed
fork
is
Cont
is
Done
is
Error
pull
trap
done
end
error
write
Generated using
TypeDoc