Closed neuecc closed 7 years ago
Yes. For Single
, I implemented encoding using pointer operation effectively, so it is required to reverse the order when it runs on little endian machine. In oposite, other numerics, including Double
, use shift operator which abstracts endian.
Thank you and sorry, I've missed shift operator(sorry for no consideration question).
I've read packing double code. Pack
single
code has branches by IsLittleEndian but packdouble
code has not. https://github.com/msgpack/msgpack-cli/blob/master/src/MsgPack/Packer.Packing.cs#L1108-L1123 Does this support BigEndian?