What do you mean by the endianness of a single byte? Endianness is about the order of a sequence of bytes.
On Mon, Feb 27, 2017 at 1:45 PM, Glen Newton <[email protected]> wrote: > > > Given a byte b, how do I convert it to a byte of particular endianness? > It is not clear to me looking at "encoding/binary" > > (I am assuming that golang byte endianness varies across architectures. If > this is wrong please educate me). :-) > > Thanks, > Glen > > -- > 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]. > For more options, visit https://groups.google.com/d/optout. -- 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]. For more options, visit https://groups.google.com/d/optout.
