Preparing search index...
The search index is not available
@gibme/bytepack
@gibme/bytepack
Varint
Class Varint
Abstract
Index
Constructors
constructor
Methods
decode
encode
Constructors
constructor
new
Varint
(
)
:
Varint
Returns
Varint
Methods
Static
decode
decode
(
buffer
)
:
BigInteger
Decodes a varint from a buffer
Parameters
buffer
:
Buffer
Returns
BigInteger
Static
encode
encode
(
value
)
:
Buffer
Encodes a value into a varint encoded buffer
Parameters
value
:
number
|
BigInteger
Returns
Buffer
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
constructor
decode
encode
@gibme/bytepack
Loading...
Decodes a varint from a buffer