Rewrite offsets calculation logic for Variable Size Lists (#18)

This PR rewrites the offsets calculation logic so that:
    
1. Offsets are calculated body recursively - the offsets of the data
   array are used as the basis for var list array without recalculation
   
2. Fixed type offsets are built - the offsets of a fixed type are
   calculated from the type and length of the flattened values. This
unfortunately is not body recursive, and is recalculated on recursing to
the next level, but is very cheap since it is calculated from the type
   and not the actual values.

Additionally some bugs were fixed with binaries as inputs, longhand
and shorthand differentiation added to typespecs.
7 files changed
tree: fc2d3bf65bcca10adc3631e08cd3a5b117bd5e33
  1. .github/
  2. src/
  3. test/
  4. .gitignore
  5. LICENSE
  6. README.md
  7. rebar.config
  8. rebar.lock
  9. Roadmap.org
README.md

serde_arrow

An OTP library

Build

$ rebar3 compile