Can't understand the task Hyper-optimized Telemetry

Sorry if I’m asking the question in the wrong place, but I don’t know where I can ask about the task description. Please tell me what the additional bytes are in the description of the Hyper-optimized Telemetry in C# track Hyper-optimized Telemetry in C# on Exercism.
Thanks in advance

1 Like

Unfortunately, the exercise description is quite convoluted, so sorry about that!

As for your actual question, the instruction state:

The complete buffer comprises a byte indicating the number of additional bytes in the buffer (prefix byte ) followed by the bytes holding the integer (payload bytes ).

So suppose that the payload bytes are four bytes (these are the additional bytes), then the number of additional bytes is 4 and the prefix byte is also 4. If the payload bytes are two bytes, the prefix byte is 2. For signed numbers, you’ll need to store the additional bytes a bit differently.

2 Likes