Search

2/14/2007

KAI.JAEGER.BLOG : Introducing BISON

KAI.JAEGER.BLOG : Introducing BISON - Binary Interchange Standard and Object Notation

Let's say you have a 64 bit floating point variable and you want to save it to a file or send it over a socket connection. In order to turn the variable into a stream of bytes, all you have to do is create a byte-pointer and have it point at the floating point variable. Then you can access the individual bytes of the floating point variable and do whatever you want with them.

沒有留言: