public static int EncodeInteger(Span <byte> buffer, int value, byte prefix, byte prefixMask) { return(HPackEncoder.EncodeInteger(value, prefix, prefixMask, buffer)); }
public static int EncodeString(Span <byte> buffer, string value, Encoding valueEncoding, bool huffmanCoded = false) { return(HPackEncoder.EncodeString(value, valueEncoding, buffer, huffmanCoded)); }