replace Codec::from(u64)
with TryFrom impl
#44
Merged
Codec::from(u64)
with TryFrom impl
#44