Function serializableObjectsArrayToBytes

  • Serialize a serializable objects array into a StaticArray<u8> (byte array).

    Type Parameters

    Parameters

    • source: T[]

      The array of serializable objects to convert to bytes.

    Returns StaticArray<u8>

    The converted StaticArray (byte array) representation of the serializable objects array.

    Remarks

    This function performs a deep copy of serializable objects. It is inspired by the AssemblyScript standard library array implementation.

    See

    AssemblyScript array implementation

Generated using TypeDoc