Sha256: fadbd45eba0ab955d8e760263dc6a26e398e1d7013402b8afeb50fbab25eb2da

Contents?: true

Size: 781 Bytes

Versions: 27

Compression:

Stored size: 781 Bytes

Contents

module RubySMB
  module Fscc
    module FileInformation
      # The FileNamesInformation Class as defined in
      # [2.4.28 FileNamesInformation](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/a289f7a8-83d2-4927-8c88-b2d328dde5a5)
      class FileNamesInformation < BinData::Record
        CLASS_LEVEL = FileInformation::FILE_NAMES_INFORMATION

        endian :little

        uint32           :next_offset,      label: 'Next Entry Offset'
        uint32           :file_index,       label: 'File Index'
        uint32           :file_name_length, label: 'File Name Length',  initial_value: -> { file_name.do_num_bytes }
        string16         :file_name,        label: 'File Name',         read_length: -> { file_name_length }
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
ruby_smb-3.3.12 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.3.11 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.3.10 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.3.9 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.3.7 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.3.6 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.3.5 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.3.4 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.3.3 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.3.2 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.3.1 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.3.0 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.2.8 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.2.7 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.2.6 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.2.5 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.2.4 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.2.3 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.2.2 lib/ruby_smb/fscc/file_information/file_names_information.rb
ruby_smb-3.2.1 lib/ruby_smb/fscc/file_information/file_names_information.rb