1
0
Fork 0

tar/storage: add Packer TODO

This commit is contained in:
Vincent Batts 2015-02-24 15:49:06 -05:00
parent 89bd581749
commit 8ff77b5aa0
1 changed files with 10 additions and 0 deletions

View File

@ -89,3 +89,13 @@ func NewJsonPacker(w io.Writer) Packer {
e: json.NewEncoder(w),
}
}
/*
TODO(vbatts) perhaps have a more compact packer/unpacker, maybe using msgapck
(https://github.com/ugorji/go)
Even though, since our jsonUnpacker and jsonPacker just take
io.Reader/io.Writer, then we can get away with passing them a
gzip.Reader/gzip.Writer
*/