Serialize.Type
EOSIO Javascript / Exports / Serialize / Type
Interface: Type
Serialize.Type
A type in an abi
Table of contents
Properties
Properties
aliasOfName
• aliasOfName: string
Type name this is an alias of, if any
Defined in
src/eosjs-serialize.ts:44
arrayOf
• arrayOf: Type
Type this is an array of, if any
Defined in
src/eosjs-serialize.ts:47
base
• base: Type
Base of this type, if this is a struct
Defined in
src/eosjs-serialize.ts:59
baseName
• baseName: string
Base name of this type, if this is a struct
Defined in
src/eosjs-serialize.ts:56
deserialize
• deserialize: (buffer
: SerialBuffer
, state?
: SerializerState
, allowExtensions?
: boolean
) => any
Type declaration
▸ (buffer
, state?
, allowExtensions?
): any
Convert data in buffer
from binary form
Parameters
Name | Type |
---|---|
buffer | SerialBuffer |
state? | SerializerState |
allowExtensions? | boolean |
Returns
any
Defined in
src/eosjs-serialize.ts:68
extensionOf
• Optional
extensionOf: Type
Marks binary extension fields
Defined in
src/eosjs-serialize.ts:53
fields
• fields: Field
[]
Contained fields, if this is a struct
Defined in
src/eosjs-serialize.ts:62
name
• name: string
Type name
Defined in
src/eosjs-serialize.ts:41
optionalOf
• optionalOf: Type
Type this is an optional of, if any
Defined in
src/eosjs-serialize.ts:50
serialize
• serialize: (buffer
: SerialBuffer
, data
: any
, state?
: SerializerState
, allowExtensions?
: boolean
) => void
Type declaration
▸ (buffer
, data
, state?
, allowExtensions?
): void
Convert data
to binary form and store in buffer
Parameters
Name | Type |
---|---|
buffer | SerialBuffer |
data | any |
state? | SerializerState |
allowExtensions? | boolean |
Returns
void
Defined in
src/eosjs-serialize.ts:65