BufferedInput.populate

Place more data from the source stream into this buffer, and returns the number of bytes added.

This does not compress the current buffer content, so consider doing that explicitly.

class BufferedInput
final
size_t
populate
()

Return Value

Type: size_t

Number of bytes added, which will be Eof when there is no further input available. Zero is also a valid response, meaning no data was actually added.

Meta