Pike v8.1 release 6

Method Stdio.Buffer()->add_padding()


Method add_padding

Buffer add_padding(int(0..) nbytes, int(8bit)|void byte)

Description

Add nbytes bytes of padding, if byte is not specified the area will be filled with 0's, otherwise the specified byte will be repeated.