Preparing search index...
The search index is not available
Documentation - v0.0.7
Documentation
@fuman/io
IFrameEncoder
Interface IFrameEncoder<Frame>
interface
IFrameEncoder
<
Frame
=
Uint8Array
>
{
encode
:
(
frame
:
Frame
,
into
:
ISyncWritable
)
=>
MaybePromise
<
void
>
;
reset
:
()
=>
void
;
}
Type Parameters
Frame
=
Uint8Array
Implemented by
DelimiterCodec
LengthDelimitedCodec
TextDelimiterCodec
Index
Properties
encode
reset
Properties
encode
encode
:
(
frame
:
Frame
,
into
:
ISyncWritable
)
=>
MaybePromise
<
void
>
Encode a frame into a writable stream
reset
reset
:
()
=>
void
Reset the encoder, should it have any internal state
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
encode
reset
Documentation - v0.0.7
Loading...
Encode a frame into a writable stream