6 Commits

Author SHA1 Message Date
Jason Travis Smith
e9ab0bdece Strings can now be transmuted or converted into binary data.
This also added the scribe library so that this library can use
the logging system.
2016-04-13 23:57:40 -04:00
Jason Travis Smith
307118412b Upgraded to latest sigils release.
This added the ability to more easily print Vectors and Quaternions.

This also fixes some style issues.

Missing documents will now cause warnings when building.
2016-01-07 17:49:21 -05:00
Jason Travis Smith
ed44f4f861 Created a trait for specifying byte size for a type.
There is now a ByteSized trait that can be used to specify how many
bytes it takes to represent a piece of data. This has been implemented
for all of the primitive number types. With this information Transmutable
was able to create a Vector2 wrapper that will need to be tested. If it
works then soon after Vectors and other Sigils types can be turned into
Transmutable types.

This also has the changes for the original tests and example
to use the new ByteSized information.
2016-01-06 23:37:18 -05:00
Jason Travis Smith
e7f2f252fa Now supporting primitive type conversion with a trait!
This changes the old Transmutable trait to Converter and adds a new
Transmutable trait to all the primitive number types.
2016-01-05 17:46:31 -05:00
Jason Travis Smith
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
Jason Travis Smith
fee27b18a3 Initial library commit.
The dependency on Sigils was also added.
2015-12-29 19:48:46 -05:00