Function uniformFixedSizeArray

  • De/Serializes an array with a specific number of elements of type T which all have the same size.

    Type Parameters

    • T

      type of elements held in the array

    • V = Partial<T>

    Parameters

    • element: FixedSizeBeet<T, V>

      the De/Serializer for the element type

    • len: number

      the number of elements in the array

    • lenPrefix: boolean = false

      if true a 4 byte number indicating the size of the array will be included before serialized array data

    Returns ElementCollectionBeet & FixedSizeBeet<T[], V[]>

Generated using TypeDoc