Hello, everyone,
It's my pleasure to announce that I have just released a stable version of 
full-feature serialization package to replace std.binary.
You can find the project here:
https://github.com/vipally/binary
My trouble is that when I want to transport a go data on network between 
golang apps, but I can't find a perfect way to achieve this work.
std.binary does not support enough types(eg:string), gob encoding too many 
byte numbers, and protocol buffer is not easy to use freely.
So I have to design a new serialization package to fix this problem.
My solution is to improve from std.binary, and design goal is to take both 
advantages of std.binary and gob.
Finally I achieve it. Here is the main feature of this package.

   1. as light-weight as std.binary
   2. with full-type support like gob.
   3. as high-performance as std.binary and gob.
   4. encoding with fewer bytes than std.binary and gob.
   5. use RegStruct to improving performance of struct encoding/decoding
   6. recommended using in net protocol serialization and DB serialization

usage:
if bytes, err := binary.Pack(&data, nil); err==nil{ //... }
if err := binary.Unpack(bytes, &data); err==nil{ //... }

You can find more detail informain at the main page of this project.
I think it is a better way to instead std.binary to encoding/decoding 
between go data and byte slice.
I hope go team can consider this requirement, and help to accept this 
package in std library or gx library to help more gophers to fix go data 
serialization requirement.

Thanks for reading!
Ally

-- 
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