6a623932ed
This is trying to remove the num_bytes argument from usize/isize methods.
...
If num_bytes can be removed then a generic to_bytes and from_bytes
trait can be created that will help with serializing structures
and generic data.
2016-01-02 14:54:03 -05:00
a3cc3a3515
Merge branch 'examples'
2015-12-30 22:25:09 -05:00
9b280f8c43
Added a README file to the project.
2015-12-30 22:24:41 -05:00
8ae59008fe
This is an example of how to use the library.
...
This example converts a 32-bit floating point value
to and from a byte array.
2015-12-30 17:54:23 -05:00
039c093b92
The library can now convert numbers to and from bytes.
...
Numbers can be converted to and from bytes in both
BigEndian and LittleEndian styles. This does not yet take care of
the other mathematical structures provided by Sigil.
Also, no tests of these capabilities have been written yet.
2015-12-30 17:06:48 -05:00
fee27b18a3
Initial library commit.
...
The dependency on Sigils was also added.
2015-12-29 19:48:46 -05:00