smessmer / binary-layout

The binary-layout library allows type-safe, inplace, zero-copy access to structured binary data. You define a custom data layout and give it a slice of binary data, and it will allow you to read and write the fields defined in the layout from the binary data without having to copy any of the data. It's similar to transmuting to/from a #[repr(packed)] struct, but much safer.
Apache License 2.0
66 stars 9 forks source link

Added in some extra documentation showing how you can nest layouts with different endianess #18

Closed ckaran closed 2 years ago

ckaran commented 2 years ago

Added in some extra documentation showing how you can nest layouts with different endianess.

codecov-commenter commented 2 years ago

Codecov Report

Merging #18 (017fc50) into master (8ad4b1c) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #18   +/-   ##
=======================================
  Coverage   99.89%   99.89%           
=======================================
  Files           7        7           
  Lines         993      993           
=======================================
  Hits          992      992           
  Misses          1        1           
Impacted Files Coverage Δ
src/lib.rs 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8ad4b1c...017fc50. Read the comment docs.

smessmer commented 2 years ago

Thanks :)