String requestHTTPSyncAsString(String request, byte[] rest_of_request) throws YAPI_Exception {
   String shortRequest = formatRequest(request);
   final byte[] bytes = _hub.devRequestSync(this, shortRequest, rest_of_request);
   return new String(bytes, YAPI.DeviceCharset);
 }
 byte[] requestHTTPSync(String request, byte[] rest_of_request) throws YAPI_Exception {
   String shortRequest = formatRequest(request);
   return _hub.devRequestSync(this, shortRequest, rest_of_request);
 }