This is fork of code.google.com/p/snappy-go/snappy.