pamoja for TypeScript - v0.2.0
    Preparing search index...

    Function unpackSamples

    • Unpacks a buffer produced by packSamples.

      Parameters

      • bytes: Uint8Array

        The packed encoding.

      Returns number[]

      The samples, in order.

      If the buffer is malformed, carries bytes after its last sample, or holds a sample past the largest whole number a JavaScript number holds exactly.