Skip to content

Nuhvi/SnD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

SnD

Spec, newline, Data

example.com/some-struct#v3
<binary>

Inspection

cat <file path> | head -n 1 | xargs curl

Recommendations

Byte alignment

For binary formats that require non-byte alignment you might need to control the byte length of the first line, for example, if the data format is an array of u64, you should prepend %20 (space) characters before the \n (newline) to round the first line's byte length to the nearest multiple of 8 bytes.

Acknowledgements

Thanks to Age for the inspiring example.

Thanks to Aaron Goldman for the name.

Thanks to Rüdiger Klaehn for the byte alignment note.

About

Spec, newline, Data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published