code: final int serialize (final ByteBuffer dst, final int offset) throws InternetSCSIException {
  
          dst.position(offset);
          if (dst.remaining() < length) { throw new IllegalArgumentException("Destination array is too small."); }
  
          dst.putShort(length);
          dst.put(type.value());
          dst.put(specificField.get());
  
          while (specificField.hasRemaining()) {
              dst.putInt(specificField.getInt());
          }
  
          return length + FIX_SIZE_OVERHEAD;
      }
docs: This method serializes the informations of this AHS object to the byte representation defined by the iSCSI
  Standard.
  
  @param dst The destination array to write in.
  @param offset The start offset in <code>dst</code>.
  @return The length of used integers of the serialized form of this AHS object.
  @throws InternetSCSIException If any violation of the iSCSI-Standard emerge.