I\'m completely new to Go and I\'m trying to read a binary file, either byte by byte or several bytes at a time. The documentation doesn\'t help much and I cannot find any t
You can't whimsically cast primitive types to (char*) like in C, so for any sort of (de)serializing of binary data use the encoding/binary package.
http://golang.org/pkg/encoding/binary .
I can't improve on the examples there.