Sha256: 2291c747eb36fba394ce84859845afde0e88fa9dcd95bc230cd9f3a7c7744ed8

Contents?: true

Size: 774 Bytes

Versions: 1

Compression:

Stored size: 774 Bytes

Contents

module RubySMB
  module Field
    # Class representing a FillFullEaInformation structure as defined in
    # [2.4.15 FileFullEaInformation](https://msdn.microsoft.com/en-us/library/cc232069.aspx)
    class FileFullEaInfo < BinData::Record
      endian  :little
      uint32                  :next_entry_offset, label: 'Next Entry Offset'
      extended_attribute_flag :flags
      uint8                   :ea_name_length,    label: 'EA Name Length',  initial_value: lambda { ea_name.do_num_bytes }
      uint8                   :ea_value_length,   label: 'EA Value Length', initial_value: lambda { ea_value.do_num_bytes }
      string                  :ea_name,           label: 'EA Name'
      string                  :ea_value,          label: 'EA Value'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_smb-0.0.18 lib/ruby_smb/field/file_full_ea_info.rb