Pike v8.1 release 6

Method Stdio.Buffer()->read_hint()


Method read_hint

int read_hint(int n)

Description

Read a network byte order unsigned number of size n*8 bits, then read another network byte order number of the size indicated by the first size.

Will return -1 if there is not enough buffer space available unless error mode is set to throw errors.