The OpenD Programming Language

AudioStream.finalizeAndGetEncodedResult

Finalize encoding and get internal buffer. This can be called multiple times, in which cases the stream is finalized only the first time.

struct AudioStream
nothrow @nogc @nogc
const(ubyte)[]
finalizeAndGetEncodedResult
()

Return Value

Type: const(ubyte)[]

null in case of error (also isError flag), else an array of bytes.

Meta