toByteArray

Collects all chunks into a single byte array. Note: This loads all audio data into memory. Returns a new array (not a reference to internal data).