Class: ListValue
Represents a ListValue.
Implements
Constructors
constructor
• new ListValue(properties?): ListValue
Constructs a new ListValue.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IListValue | Properties to set |
Returns
Properties
values
• values: IValue[]
ListValue values.
Implementation of
Methods
toJSON
▸ toJSON(): Object
Converts this ListValue to JSON.
Returns
Object
JSON object
create
▸ create(properties?): ListValue
Creates a new ListValue instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IListValue | Properties to set |
Returns
ListValue instance
decode
▸ decode(reader, length?): ListValue
Decodes a ListValue message from the specified reader or buffer.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
length? | number | Message length if known beforehand |
Returns
ListValue
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader): ListValue
Decodes a ListValue message from the specified reader or buffer, length delimited.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
ListValue
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing