On Monday, February 27, 2017 at 12:41:43 PM UTC-6, zeebo wrote:
>
> You're using the variable width encoding. The number of bytes of a 
> variable width encoded int64 will depend on the magnitude of the value. If 
> you use binary.BigEndian or binary.LittleEndian you can use the 
> *PutUint64* method which will always be 8 bytes.
>

Thank you! I can see I can find them here if I go into the code:

https://golang.org/src/encoding/binary/binary.go

Although those functions are NOT documented here:

https://golang.org/pkg/encoding/binary/

Shouldn't they be?

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to