Function toBytesArrayU8

  • Serializes an array of u8 values, equivalent to Vec<u8> in Rust.

    Returns

    A serialized Uint8Array with the array's length as a u32 prefix.

    Parameters

    • arr: Uint8Array

      A Uint8Array buffer of u8 integers.

    Returns Uint8Array

Generated using TypeDoc