Added the casts for the byte data.
Merge pull request #28 from redboltz/solve_narrow_conversion

Added the casts for the byte data.