code: private FromHostPrimitiveResult < ByteBuffer > fromHostBytes(
              CobolContext cobolContext, byte[] hostData, int start, int bytesLen) {
  
          ByteBuffer result = ByteBuffer.allocate(bytesLen);
          result.put(hostData, start, bytesLen);
          result.rewind();
          return new FromHostPrimitiveResult < ByteBuffer >(result);
      }
docs: Case where the host data must be preserved as is (no conversion)
  
  @param cobolContext the COBOL context
  @param hostData the host data
  @param start where to start in the host data
  @param bytesLen how many bytes from the host data to process
  @return the result of the conversion