On Fri, Oct 3, 2025 at 5:01 PM R. Men <[email protected]> wrote:

> Hello, I'm new to the language and I have a question about uvarint decoding, 
> hoping someone can clarify. Looking at the the source code, it seems to 
> assume that data is littleEndian and converts to bigEndian. What if my data 
> is already bigEndian?

Uvarint encoding is a variable length byte sequence. It has no endianess.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/CAA40n-Xajak3yC5iM-ocFhN%3DuE0RGJw_6RnrVaJgmEqH8ppJaw%40mail.gmail.com.

Reply via email to