Preparing search index...
The search index is not available
libp2p
libp2p
@libp2p/pubsub
peer-streams
DecoderOptions
Interface DecoderOptions
interface
DecoderOptions
{
lengthDecoder
?:
LengthDecoderFunction
;
maxDataLength
?:
number
;
maxLengthLength
?:
number
;
onData
?
(
data
)
:
void
;
onLength
?
(
length
)
:
void
;
}
Hierarchy
DecoderOptions
DecoderOptions
Index
Properties
length
Decoder?
max
Data
Length?
max
Length
Length?
Methods
on
Data?
on
Length?
Properties
Optional
length
Decoder
length
Decoder
?:
LengthDecoderFunction
Optional
max
Data
Length
max
Data
Length
?:
number
Optional
max
Length
Length
max
Length
Length
?:
number
Methods
Optional
on
Data
on
Data
(
data
)
:
void
Parameters
data
:
Uint8ArrayList
Returns
void
Optional
on
Length
on
Length
(
length
)
:
void
Parameters
length
:
number
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
length
Decoder
max
Data
Length
max
Length
Length
on
Data
on
Length
libp2p
Loading...