code: @Override
      public int encode ( byte[] dst, int dstIndex ) {
          if ( this.largeFile ) {
              SMBUtil.writeInt2(this.pid, dst, dstIndex);
              SMBUtil.writeInt4(this.byteOffset >> 32, dst, dstIndex + 4);
              SMBUtil.writeInt4(this.byteOffset & 0xFFFFFFFF, dst, dstIndex + 8);
              SMBUtil.writeInt4(this.lengthInBytes >> 32, dst, dstIndex + 12);
              SMBUtil.writeInt4(this.lengthInBytes & 0xFFFFFFFF, dst, dstIndex + 16);
              return 20;
          }
          SMBUtil.writeInt2(this.pid, dst, dstIndex);
          SMBUtil.writeInt4(this.byteOffset, dst, dstIndex + 2);
          SMBUtil.writeInt4(this.lengthInBytes, dst, dstIndex + 6);
          return 10;
      }
docs: {@inheritDoc}
  
  @see jcifs.Encodable#encode(byte[], int)