toByteString

Returns a new ByteString wrapping all bytes written to this builder.

There will be no additional allocations or copying of data when size == capacity.