class RubySMB::SMB1::Packet::ReadAndxResponse::DataBlock

Represents the specific layout of the DataBlock for a {ReadAndxResponse} Packet.

Private Instance Methods

has_padding?() click to toggle source

This method checks if the optional pad field is present in the response.

# File lib/ruby_smb/smb1/packet/read_andx_response.rb, line 29
def has_padding?
  return false if byte_count.zero?
  return true if byte_count - parent.parameter_block.data_length == 1
  false
end