add encoding for floats
encode slices, not arrays
rename to/from -> enc/dec
add encoding for ints
add encoding tests
return slices, not arrays
Merge pull request #138 from lukechampine/encoding

Minor encoding changes