fix all bit/byte math, added unit test for deserializing all types from java generated packet
remove io format
Merge branch 'feature/feature/unit-tests' into develop