BufferedDirectWriteFile.flushWithPadding

Write the current buffer rounding to the block size (and setting the padding bytes to padding_byte).

class BufferedDirectWriteFile
size_t
flushWithPadding
(
ubyte padding_byte = 0
)

Parameters

padding_byte ubyte

Byte to use to fill the padding.

Return Value

Type: size_t

Number of bytes that have been flushed.

Meta