BufferedInputStream.peek

Peeks in the buffer, copying data of size count into buffer, offset offset bytes.

class BufferedInputStream
peek

Parameters

buffer void*

a pointer to an allocated chunk of memory

offset gsize

a gsize

count gsize

a gsize

Return Value

Type: gsize

a gsize of the number of bytes peeked, or -1 on error.

Meta