Pike v8.1 release 6

Method HPack.Context()->put_int()


Method put_int

protected void put_int(Stdio.Buffer buf, int(8bit) bits, int(8bit) mask, int value)

Description

Encode an integer with the HPack integer encoding.

Parameter buf

Output buffer.

Parameter bits

Bits that should always be set in the first byte of output.

Parameter mask

Bitmask for the value part of the first byte of output.

Parameter value

Integer value to encode.