Pike v8.0 release 1738

Method Stdio.Buffer()->add_hint()


Method add_hint

Buffer add_hint(int i, int(0..) size_width)

Description

First add the size of the integer when encoded to base 256 as a size_width integer, then add the integer to the buffer, both in network byte order.

size_width must be less than Int.NATIVE_MAX.