binary
binary copied to clipboard
package binary is a lightweight and high-performance serialization library to encode/decode between go data and []byte.
interface type of struct field or array/map element will be reflect.Interface, not the underline type, it will Encode/Decode fail.
it shout have binary:"export"tag to marshal unexported field of a struct
add binary.version to adjust different of binary data
Have tried to use use interface PackUnPacker on every element of struct and array, but it is costly.Required to achive this by a better way.