I'm trying to understand the structure of the service and network bytes for compact sizes.
what's specification for compressing the bytes for example in addrv2 message encoding?
thanks.
The compactsize encoding is a variable-length encoding for integers between 0 and 264 - 1 inclusive.