Return the deserialized value from a stringified buffer.

Implements

Constructors

Properties

endian: Endian

The endianness of the stored value.

offset: number

The buffer offset to start deserializing from.

The type of value to deserialize.

Methods

  • Converts this BufferLayoutParseTask to JSON.

    Returns { [k: string]: any }

    JSON object

  • Decodes a BufferLayoutParseTask message from the specified reader or buffer.

    Parameters

    • reader: Uint8Array<ArrayBufferLike> | Reader

      Reader or buffer to decode from

    • Optionallength: number

      Message length if known beforehand

    Returns OracleJob.BufferLayoutParseTask

    BufferLayoutParseTask

    If the payload is not a reader or valid buffer

    If required fields are missing

  • Decodes a BufferLayoutParseTask message from the specified reader or buffer, length delimited.

    Parameters

    • reader: Uint8Array<ArrayBufferLike> | Reader

      Reader or buffer to decode from

    Returns OracleJob.BufferLayoutParseTask

    BufferLayoutParseTask

    If the payload is not a reader or valid buffer

    If required fields are missing

  • Encodes the specified BufferLayoutParseTask message. Does not implicitly verify messages.

    Parameters

    • message: IBufferLayoutParseTask

      BufferLayoutParseTask message or plain object to encode

    • Optionalwriter: Writer

      Writer to encode to

    Returns Writer

    Writer

  • Encodes the specified BufferLayoutParseTask message, length delimited. Does not implicitly verify messages.

    Parameters

    • message: IBufferLayoutParseTask

      BufferLayoutParseTask message or plain object to encode

    • Optionalwriter: Writer

      Writer to encode to

    Returns Writer

    Writer

  • Creates a BufferLayoutParseTask message from a plain object. Also converts values to their respective internal types.

    Parameters

    • object: { [k: string]: any }

      Plain object

    Returns OracleJob.BufferLayoutParseTask

    BufferLayoutParseTask

  • Gets the default type url for BufferLayoutParseTask

    Parameters

    Returns string

    The default type url

  • Creates a plain object from a BufferLayoutParseTask message. Also converts values to other types if specified.

    Parameters

    Returns { [k: string]: any }

    Plain object

  • Verifies a BufferLayoutParseTask message.

    Parameters

    • message: { [k: string]: any }

      Plain object to verify

    Returns string

    null if valid, otherwise the reason why it is not