@Override protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException { int start = bufferIndex; int elemStart = start; FileNotifyInformationImpl i = new FileNotifyInformationImpl(); bufferIndex += i.decode(buffer, bufferIndex, len); this.notifyInformation.add(i); while ( i.getNextEntryOffset() > 0 ) { bufferIndex = elemStart + i.getNextEntryOffset(); elemStart = bufferIndex; i = new FileNotifyInformationImpl(); bufferIndex += i.decode(buffer, bufferIndex, len); this.notifyInformation.add(i); } return bufferIndex - start; }
/** * * @param buffer * @param bufferIndex * @param len * @throws IOException */ public FileNotifyInformationImpl ( byte[] buffer, int bufferIndex, int len ) throws IOException { decode(buffer, bufferIndex, len); }
/** * * @param buffer * @param bufferIndex * @param len * @throws IOException */ public FileNotifyInformationImpl ( byte[] buffer, int bufferIndex, int len ) throws IOException { decode(buffer, bufferIndex, len); }
@Override protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException { int start = bufferIndex; int elemStart = start; FileNotifyInformationImpl i = new FileNotifyInformationImpl(); bufferIndex += i.decode(buffer, bufferIndex, len); this.notifyInformation.add(i); while ( i.getNextEntryOffset() > 0 ) { bufferIndex = elemStart + i.getNextEntryOffset(); elemStart = bufferIndex; i = new FileNotifyInformationImpl(); bufferIndex += i.decode(buffer, bufferIndex, len); this.notifyInformation.add(i); } return bufferIndex - start; }
FileNotifyInformationImpl i = new FileNotifyInformationImpl(); bufferIndex += i.decode(buffer, bufferOffset, len); this.notifyInformation.add(i); while ( i.getNextEntryOffset() > 0 && bufferIndex < bufferOffset + len ) { bufferIndex = elemStart + i.getNextEntryOffset(); elemStart = bufferIndex; i = new FileNotifyInformationImpl(); bufferIndex += i.decode(buffer, bufferIndex, len); this.notifyInformation.add(i);
FileNotifyInformationImpl i = new FileNotifyInformationImpl(); bufferIndex += i.decode(buffer, bufferOffset, len); this.notifyInformation.add(i); while ( i.getNextEntryOffset() > 0 && bufferIndex < bufferOffset + len ) { bufferIndex = elemStart + i.getNextEntryOffset(); elemStart = bufferIndex; i = new FileNotifyInformationImpl(); bufferIndex += i.decode(buffer, bufferIndex, len); this.notifyInformation.add(i);