Skip to content

lib rlp.cr v0.1.0

Compare
Choose a tag to compare
@q9f q9f released this 24 Jan 06:39
v0.1.0

initial release for the rlp crystal library.

this library allows for rlp-encoding of:

  • binary data (assumed encoded)
  • boolean values (true, false)
  • scalars (positive integers)
  • string literals and characters
  • arrays containing any of the the above
  • nested arrays containing any of the above

rlp decoding is not yet implemented.

changes:

  • add utils for converting between data types ef496ac
  • get length of input data from prefix byte 88e73c2
  • rlp encoding of bytes, arrays, strings, scalars, and booleans #1