• Asserts that a given offset is within the byte array bounds. This range is between 0 and the byte array length and is inclusive. An offset equals to the byte array length is considered a valid offset as it allows the post-offset of codecs to signal the end of the byte array.

    Parameters

    • codecDescription: string
    • offset: number
    • bytesLength: number

    Returns void