ChunkedBuffer #
This module provides an efficient way to concatenate multiple ByteArrays by deferring the actual
concatenation until necessary. This is particularly useful in HTTP response building and streaming
scenarios where data is accumulated incrementally.
@[inline]
Writes a ByteArray to the ChunkedBuffer.
Instances For
@[inline]
Writes a Char to the ChunkedBuffer. Only the low byte is written (Char.toUInt8),
so this is only correct for ASCII characters.
Instances For
@[inline]
Writes a String to the ChunkedBuffer.
Instances For
@[inline]
Turn the combined structure into a single contiguous ByteArray.
Instances For
@[inline]
Build from a ByteArray directly.
Instances For
@[inline]
Build from an array of ByteArrays directly.
Instances For
@[inline]
Checks whether the buffer is empty.
Instances For
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]