Extracted from Pike v8.0 release 358 as of 2016-11-23.
   

Method Stdio.Buffer()->read_int()


Method read_int

int read_int(int n)

Description

Read a network byte order unsigned number of size n*8 bits, then return it.

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