code: public FromHostPrimitiveResult < T > fromHost(Class < T > javaClass,
              CobolContext cobolContext, byte[] hostData, int start) {
  
          int bytesLen = getBytesLen();
  
          // For strings it is acceptable that host is sending over less data
          // than expected. This happens when trailing low values are chopped
          // off by transports
          if (hostData.length < start + bytesLen) {
              bytesLen = hostData.length - start;
          }
  
          return fromHostInternal(javaClass, cobolContext, hostData, start,
                  bytesLen);
  
      }
docs: {@inheritDoc}