Reading And Writing Binary Data
describes how to write and read any type in the binary form.
Create the rwbinary.go file with the following content:
package main
import (
"bytes"
"encoding/binary"
"fmt"
)
func main() ...
blog.cloudnativefolks.org1 min read