Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

Method Stdio.Buffer()->read_sint()


Method read_sint

int read_sint(int size)

Description

Read a network byte order two:s complement signed number of size n*8 bits, then return it.

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