davisouzaluna / Dquic

MIT License
0 stars 0 forks source link

Encode and Decode long header packet length #1

Closed davisouzaluna closed 3 months ago

davisouzaluna commented 9 months ago

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.

davisouzaluna commented 9 months ago

Initial version is published in 47c1bf332d8047e8046460fb8f4de30ae69566c9 commit. I used chat GPT when I study. It's necessary a review