class RubySMB::SMB1::Packet::ReadAndxRequest::ParameterBlock
A SMB1
Parameter Block as defined by the {ReadAndxRequest}
Attributes
read_from_named_pipe[RW]
Specifies if the file to read is a named pipe or a regular file. @return [TrueClass, FalseClass] true if reading from a named pipe, false otherwise
Public Instance Methods
initialize_instance()
click to toggle source
Calls superclass method
# File lib/ruby_smb/smb1/packet/read_andx_request.rb, line 37 def initialize_instance super @read_from_named_pipe = false end
Private Instance Methods
calculate_word_count()
click to toggle source
Bypass the word count calculation to use 32-bit offset by default. As a result, the optional offset_high field won't be defined until set_64_bit_offset(true) is explicitly called.
# File lib/ruby_smb/smb1/packet/read_andx_request.rb, line 45 def calculate_word_count 0x0A end