Get number of bytes for class, only supports numeric classes and strings for now
Get class based on number of bytes
Convert byte into endianness
Convert endianness into byte
Convert java class to closely matched scala class, otherwise return itself
Read value based on provided class
Compare classes and return true, if both classes match either directly or with conversion, otherwise false
Write bytes and verify number of bytes written
Write value based on a provided class