Skip to main content

BufferLayoutParseTask

Return the deserialized value from a stringified buffer.


Fields

NameTypeDescription
 endian

The endianness of the stored value.

 offset

uint32

The buffer offset to start deserializing from.

 type

The type of value to deserialize.

Enums

 BufferParseType

ValueNameDescription
 1pubkey

A public key.

 2bool

A boolean.

 3u8

An 8-bit unsigned value.

 4i8

An 8-bit signed value.

 5u16

A 16-bit unsigned value.

 6i16

A 16-bit signed value.

 7u32

A 32-bit unsigned value.

 8i32

A 32-bit signed value.

 9f32

A 32-bit IEEE floating point value.

 10u64

A 64-bit unsigned value.

 11i64

A 64-bit signed value.

 12f64

A 64-bit IEEE floating point value.

 13u128

A 128-bit unsigned value.

 14i128

A 128-bit signed value.

 Endian

ValueNameDescription
 0LITTLE_ENDIAN

Use little endian byte order.

 1BIG_ENDIAN

Use big endian byte order.