code: @Override
      public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
          int start = bufferIndex;
          if ( len < 24 ) {
              throw new SMBProtocolDecodingException("Invalid resume key");
          }
  
          this.resumeKey = new byte[24];
          System.arraycopy(buffer, bufferIndex, this.resumeKey, 0, 24);
          bufferIndex += 24;
  
          SMBUtil.readInt4(buffer, bufferIndex); // contextLength - reserved
          bufferIndex += 4;
  
          return bufferIndex - start;
      }
docs: {@inheritDoc}
  
  @see jcifs.Decodable#decode(byte[], int, int)