@keetanetwork/keetanet-client
Preparing search index...
KeetaNetSDK
Referenced
src/lib/utils/buffer
BufferStorage
Class BufferStorage
Hierarchy (
View Summary
)
BufferStorage
BlockHash
VoteBlockHash
VoteStapleHash
VoteHash
ECDSASECP256K1PublicKey
ECDSASECP256R1PublicKey
KeyStorage
PublicKeyStorage
SignatureStorage
Index
Constructors
C
constructor
Properties
P
storage
Kind
P
is
Instance
Accessors
A
length
Methods
M
compare
M
compare
Hex
String
M
get
M
get
Buffer
M
to
Big
Int
M
to
String
Constructors
constructor
new
BufferStorage
(
key
:
string
|
bigint
|
ArrayBuffer
,
length
:
number
,
)
:
BufferStorage
Parameters
key
:
string
|
bigint
|
ArrayBuffer
length
:
number
Returns
BufferStorage
Properties
Readonly
storage
Kind
storageKind
:
string
= 'GenericBuffer'
Static
is
Instance
isInstance
:
(
obj
:
any
,
strict
?:
boolean
)
=>
obj
is
BufferStorage
= ...
Accessors
length
get
length
()
:
number
Returns
number
Methods
compare
compare
(
compareWith
:
undefined
|
null
|
BufferStorage
)
:
boolean
Parameters
compareWith
:
undefined
|
null
|
BufferStorage
Returns
boolean
compare
Hex
String
compareHexString
(
compareWith
:
undefined
|
null
|
string
|
BufferStorage
,
)
:
boolean
Parameters
compareWith
:
undefined
|
null
|
string
|
BufferStorage
Returns
boolean
get
get
()
:
ArrayBuffer
Returns
ArrayBuffer
get
Buffer
getBuffer
()
:
Buffer
Returns
Buffer
to
Big
Int
toBigInt
()
:
bigint
Returns
bigint
to
String
toString
(
encoding
?:
"base64"
|
"hex"
|
"base32"
)
:
string
Parameters
encoding
:
"base64"
|
"hex"
|
"base32"
= 'hex'
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
C
constructor
Properties
P
storage
Kind
P
is
Instance
Accessors
A
length
Methods
M
compare
M
compare
Hex
String
M
get
M
get
Buffer
M
to
Big
Int
M
to
String
@keetanetwork/keetanet-client
Loading...