Skip to content

[DOC] Optimize SnappyOutputStream java doc#206

Merged
xerial merged 1 commit into
xerial:masterfrom
xuchuanyin:opt_output_doc
Jan 23, 2018
Merged

[DOC] Optimize SnappyOutputStream java doc#206
xerial merged 1 commit into
xerial:masterfrom
xuchuanyin:opt_output_doc

Conversation

@xuchuanyin
Copy link
Copy Markdown
Contributor

Add more information about output data format.

besides writing the snappy magic header (8 bytes) described in

new byte[] {-126, 'S', 'N', 'A', 'P', 'P', 'Y', 0}

We also need to write another 8 bytes: 2 integers each with 4 bytes representing version and compatible version. The version should at least be 1.
---- I think the above information should be added to the SnappyOutputStream.

See #205

Add more information about output data format
@xerial xerial merged commit aed3843 into xerial:master Jan 23, 2018
@xerial
Copy link
Copy Markdown
Owner

xerial commented Jan 23, 2018

Merged. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants