go/binary: Use bit arithmetic and runes