skipBytes

Skip bytes while parsing an input slice.

@nogc nothrow
void
skipBytes
(
ref const(ubyte)[] input
,,
bool* err
)

Parameters

input const(ubyte)[]

ubyte input range.

numBytes int

Number of bytes to skip.

err bool*

true if read error.

Return Value

Type: void

On success, *err is set to false. On failure, *err is set to true, and the input range cannot be used anymore.

Meta