Finalize encoding and get internal buffer, which is disowned by the AudioStream. The caller has to call freeEncodedAudio manually. This can be called exactly one time, if a growable owned buffer was used.
null in case of error (also isError flag), else an array of bytes.
See Implementation
Finalize encoding and get internal buffer, which is disowned by the AudioStream. The caller has to call freeEncodedAudio manually. This can be called exactly one time, if a growable owned buffer was used.