skipBytes

Consumes bytes.length bytes of the stream and determines if the contents match up.

bool
skipBytes
(
InputStream
)
(
InputStream stream
,
const(ubyte)[] bytes
)
if (
isInputStream!InputStream
)

Return Value

Type: bool

True iff the consumed bytes equal the passed array.

Throws

Throws an exception if reading from the stream fails.

Meta