lzmaStreamBufferBound
fn
size_t lzmaStreamBufferBound(size_t uncompressedSize) @safe @nogc nothrowReturns an upper bound on the compressed size of uncompressedSize bytes when encoded in a single call with lzma_stream_buffer_encode.
Parameters
uncompressedSize | Number of uncompressed bytes to be encoded. |
Returns
The maximum number of bytes the encoded output could occupy.