Commit Graph

9 Commits

Author SHA1 Message Date
7617ddb16a Merge branch 'tests'
Used the tests endian asserts.

Conflicts:
	src/endian.rs
2016-01-02 18:29:22 -05:00
cdd72603e5 Create a buffer overflow test.
This tests buffer overflow for the basic types. It does not currently
test the platform int and uint until the final function definitions
are determined.
2016-01-02 18:27:06 -05:00
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
f48b8ba98b Creating the tests for the Alchemy library. 2015-12-30 17:14:48 -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