Simple class for byte conversion