Function readItemCount

  • Read a count of items indicated by the CompactUint at ReadPosition. The CompactUint will be read to determine the number of items, and the read function will be applied in series, aggregated each result and passing the next ReadPosition into each iteration. If an error occurs, immediately return the error message (string), otherwise, return the array of results.

    Type Parameters

    • Type

    Parameters

    Returns MaybeReadResult<Type[]>

Generated using TypeDoc