commit | 2e65f85255dbc3072edf28d6b5b8efc472979f5a | [log] [tgz] |
---|---|---|
author | Nigel Tao <nigeltao@golang.org> | Fri May 18 05:39:59 2018 |
committer | Nigel Tao <nigeltao@golang.org> | Fri May 18 05:45:09 2018 |
tree | 12e9b061932ff93ee50636e1bdc69a1bf3a59c9d | |
parent | e45cd318e0c1612dbf7e2a5644c9d213fc8894f4 [diff] |
Fix snappytool to use block, not stream, format The key difference is replacing snappy.NewWriter and snappy.NewReader with snappy.Encode and snappy.Decode. This change restores the behavior of the previous (written in C) snappytool program.