24

Understanding bytes in Go by building a TCP protocol - Ilija Eftimov

 5 years ago
source link: https://ieftimov.com/post/understanding-bytes-golang-build-tcp-protocol/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Some of my newsletter subscribers have asked me a few times what is the easiest way to think about byte slices, or using Go's syntax: []byte. Folks that have experience with low-level languages, where working with bytes is widespread, usually do not have challenges comprehending what []byte means and how to use it.But, if you come from a dynamic or a high-level language background, although everything we do ends up being a bunch of bytes, higher-level languages hide such details from us.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK