Writing out large arrays in Go: binary.Write is inefficient for large arrays
Programmers often need to write data structures to disk or to networks. The data structure then needs to be interpreted as a sequence of bytes. Regarding integer values, most computer systems adopt “little endian” encoding whereas an 8-byte integer is written out using the least significant bytes first. In the Go programming language, you can … Continue reading Writing out large arrays in Go: binary.Write is inefficient for large arrays