code: @Override
      protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
          int start = dstIndex;
  
          SMBUtil.writeInt2(41, dst, dstIndex);
          dst[ dstIndex + 2 ] = this.infoType;
          dst[ dstIndex + 3 ] = this.fileInfoClass;
          dstIndex += 4;
  
          SMBUtil.writeInt4(this.outputBufferLength, dst, dstIndex);
          dstIndex += 4;
          int inBufferOffsetOffset = dstIndex;
          dstIndex += 4;
          int inBufferLengthOffset = dstIndex;
          dstIndex += 4;
          SMBUtil.writeInt4(this.additionalInformation, dst, dstIndex);
          dstIndex += 4;
          SMBUtil.writeInt4(this.queryFlags, dst, dstIndex);
          dstIndex += 4;
          System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
          dstIndex += 16;
  
          if ( this.inputBuffer == null ) {
              SMBUtil.writeInt2(0, dst, inBufferOffsetOffset);
              SMBUtil.writeInt4(0, dst, inBufferLengthOffset);
          }
          else {
              SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, inBufferOffsetOffset);
              int len = this.inputBuffer.encode(dst, dstIndex);
              SMBUtil.writeInt4(len, dst, inBufferLengthOffset);
              dstIndex += len;
          }
          return dstIndex - start;
      }
docs: {@inheritDoc}
  
  @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)