|
|
|
|
|
by mrbadguy
576 days ago
|
|
I don’t know about the padding (certainly it never inserted any when I’ve used it) but you can definitely state the byte order upon reading or writing. That would definitely be an oversight. Take a look at the encoding/binary package: https://pkg.go.dev/encoding/binary |
|
I know you can do that in go but as I already said: "more error prone than C".