Module jcifs

Class Smb2ReadResponse

All Implemented Interfaces:
CommonServerMessageBlock, CommonServerMessageBlockResponse, Message, Response

public class Smb2ReadResponse extends ServerMessageBlock2Response
SMB2 Read response message. This response contains the data that was read from the file along with information about the read operation.
Author:
mbechler
  • Field Details

    • OVERHEAD

      public static final int OVERHEAD
      Protocol overhead size for SMB2 read response
      See Also:
  • Constructor Details

    • Smb2ReadResponse

      public Smb2ReadResponse(Configuration config, byte[] outputBuffer, int outputBufferOffset)
      Constructs a SMB2 read response with the specified configuration and output buffer
      Parameters:
      config - the configuration to use for this response
      outputBuffer - the buffer to receive the read data
      outputBufferOffset - the offset in the output buffer to start writing data
  • Method Details