Copied Javadocs from SnappyCodec