Search
Preparing search index...
The search index is not available
@koinos/sdk-as - v1.0.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@koinos/sdk-as - v1.0.0
value
value_type
Class value_type
Hierarchy
value_type
Index
Constructors
constructor
Properties
bool_
value
bytes_
value
fixed32_
value
fixed64_
value
int32_
value
int64_
value
message_
value
sfixed32_
value
sfixed64_
value
sint32_
value
sint64_
value
string_
value
uint32_
value
uint64_
value
Methods
decode
encode
Constructors
constructor
new value_
type
(
message_value
?:
null
|
Any
, int32_value
?:
number
, int64_value
?:
number
, uint32_value
?:
number
, uint64_value
?:
number
, sint32_value
?:
number
, sint64_value
?:
number
, fixed32_value
?:
number
, fixed64_value
?:
number
, sfixed32_value
?:
number
, sfixed64_value
?:
number
, bool_value
?:
bool
, string_value
?:
null
|
string
, bytes_value
?:
null
|
Uint8Array
)
:
value_type
Parameters
message_value:
null
|
Any
= null
int32_value:
number
= 0
int64_value:
number
= 0
uint32_value:
number
= 0
uint64_value:
number
= 0
sint32_value:
number
= 0
sint64_value:
number
= 0
fixed32_value:
number
= 0
fixed64_value:
number
= 0
sfixed32_value:
number
= 0
sfixed64_value:
number
= 0
bool_value:
bool
= false
string_value:
null
|
string
= null
bytes_value:
null
|
Uint8Array
= null
Returns
value_type
Properties
bool_
value
bool_
value
:
bool
bytes_
value
bytes_
value
:
null
|
Uint8Array
fixed32_
value
fixed32_
value
:
number
fixed64_
value
fixed64_
value
:
number
int32_
value
int32_
value
:
number
int64_
value
int64_
value
:
number
message_
value
message_
value
:
null
|
Any
sfixed32_
value
sfixed32_
value
:
number
sfixed64_
value
sfixed64_
value
:
number
sint32_
value
sint32_
value
:
number
sint64_
value
sint64_
value
:
number
string_
value
string_
value
:
null
|
string
uint32_
value
uint32_
value
:
number
uint64_
value
uint64_
value
:
number
Methods
Static
decode
decode
(
reader
:
Reader
, length
:
number
)
:
value_type
Parameters
reader:
Reader
length:
number
Returns
value_type
Static
encode
encode
(
message
:
value_type
, writer
:
Writer
)
:
void
Parameters
message:
value_type
writer:
Writer
Returns
void
Exports
Internals
Arrays
Base58
Base64
Crypto
MockVM
Safe
Math
Storage
String
Bytes
System
Externals
any
authority
block_
store
block_
store_
rpc
broadcast
chain
chain_
rpc
claim
common
contract_
meta_
store
contract_
meta_
store_
rpc
error
events
governance
koin
mempool_
rpc
name_
service
object_
spaces
options
p2p_
rpc
pob
pow
protocol
resources
rpc
system_
call_
ids
system_
calls
token
transaction_
store
transaction_
store_
rpc
value
vhp
value_
type
constructor
bool_
value
bytes_
value
fixed32_
value
fixed64_
value
int32_
value
int64_
value
message_
value
sfixed32_
value
sfixed64_
value
sint32_
value
sint64_
value
string_
value
uint32_
value
uint64_
value
decode
encode
Generated using
TypeDoc