add methods to convert between bytes / unsigned bytes (int)