Sha256: 394ca7c75643d8c00aee5ce1f4ceca9b4465f14211f4ec146541556de5216631

Contents?: true

Size: 837 Bytes

Versions: 28

Compression:

Stored size: 837 Bytes

Contents

module RubySMB
  module Fscc
    module FileInformation
      # The FileStreamInformation
      # [2.4.43 FileStreamInformation](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/f8762be6-3ab9-411e-a7d6-5cc68f70c78d)
      class FileStreamInformation < BinData::Record
        CLASS_LEVEL = Fscc::FileInformation::FILE_STREAM_INFORMATION

        endian :little

        uint32   :next_entry_offset,      label: 'Next Entry Offset'
        uint32   :stream_name_length,     label: 'Stream Name Length', initial_value: -> { stream_name.do_num_bytes }
        int64    :stream_size,            label: 'Stream Size'
        int64    :stream_allocation_size, label: 'Stream Allocation Size'
        string16 :stream_name,            label: 'Stream Name', read_length: -> { stream_name_length }
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
ruby_smb-3.2.1 lib/ruby_smb/fscc/file_information/file_stream_information.rb
ruby_smb-3.2.0 lib/ruby_smb/fscc/file_information/file_stream_information.rb
ruby_smb-3.1.7 lib/ruby_smb/fscc/file_information/file_stream_information.rb
ruby_smb-3.1.6 lib/ruby_smb/fscc/file_information/file_stream_information.rb
ruby_smb-3.1.5 lib/ruby_smb/fscc/file_information/file_stream_information.rb
ruby_smb-3.1.4 lib/ruby_smb/fscc/file_information/file_stream_information.rb
ruby_smb-3.1.3 lib/ruby_smb/fscc/file_information/file_stream_information.rb
ruby_smb-3.1.2 lib/ruby_smb/fscc/file_information/file_stream_information.rb