Function serializeBool

  • Serializes a boolean into an array of bytes.

    Parameters

    • value: boolean

      The boolean to serialize.

    • options: ByteifyOptions = ...

      The [[ByteifyOptions]] to use to deserialize the array.

    Returns number[]

    The boolean serialized in an array of bytes.

Generated using TypeDoc