From Bytes to Go and Back Most network and disk IO requires converting from []byte to some structs and back to []byte. Let's take a deep dive into different ways of writing encoding and decoding libraries.