Is necessary to create a logical function to implements the encoding and decoding decimal numbers(will be represent the length packet) to bit. The information about is on RFC 9000(QUIC Version 1). The section is 16(Variable-Length Integer Encoding). The function will be implement in the constructor packet handshake(setup functions) in packet.c file to modify the header struct.
Is necessary to create a logical function to implements the encoding and decoding decimal numbers(will be represent the length packet) to bit. The information about is on RFC 9000(QUIC Version 1). The section is 16(Variable-Length Integer Encoding). The function will be implement in the constructor packet handshake(setup functions) in packet.c file to modify the header struct.