byteLength

external val byteLength: Int(source)

The byteLength read-only property of the EncodedAudioChunk interface returns the length in bytes of the encoded audio data.

MDN Reference