diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2018-01-07 01:48:13 +0100 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2018-01-07 01:48:13 +0100 |
commit | b81612536dc397047b52563c4cbf2a60a9d9bb86 (patch) | |
tree | b5dcc2977f5e73c450ee0ffe81a3f74de48fb7e2 /cmd | |
parent | 7d6ee8d28f456561b2adb6d85f6c86bcbb44d353 (diff) |
add doc
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/dump/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dump/main.go b/cmd/dump/main.go index 7e813be..593fd0f 100644 --- a/cmd/dump/main.go +++ b/cmd/dump/main.go @@ -31,7 +31,7 @@ func ReadBin(fname string) ([]uint16, error) { } size := stat.Size() body := make([]uint16, int(size)/2) - if err := binary.Read(fd, binary.BigEndian, &body); err != nil { + if err := binary.Read(fd, binary.LittleEndian, &body); err != nil { return nil, err } return body, nil |