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