BufferedInput.skip

Move the current read location.

Skips ahead by the specified number of bytes, streaming from the associated conduit as necessary.

Can also reverse the read position by 'size' bytes, when size is negative. This may be used to support lookahead operations. Note that a negative size will fail where there is not sufficient content available in the buffer (can't skip beyond the beginning).

class BufferedInput
final
bool
skip
(
int size
)

Parameters

size int

The number of bytes to move.

Return Value

Type: bool

true if successful, false otherwise.

Meta