Sha256: f9a2d7a31306345091217d1a5b90ba7bb45719ffb75e01ac2f06d393e23055e4

Contents?: true

Size: 785 Bytes

Versions: 64

Compression:

Stored size: 785 Bytes

Contents

module RubySMB
  module Field
    # Class representing an SMB File Extended Attribute as defined in
    # [2.2.1.2.2 SMB_FEA](https://msdn.microsoft.com/en-us/library/ee915515.aspx)
    class SmbFea < BinData::Record
      endian :little
      extended_attribute_flag :ea_flag,                   label: 'Extended Attribute Flag'
      uint8                   :attribute_name_length,     label: 'Attribute Name Length',   initial_value: -> { attribute_name.length }
      uint16                  :attribute_value_length,    label: 'Attribute Value Length',  initial_value: -> { attribute_value.length }
      string                  :attribute_name,            label: 'Attribute Name'
      string                  :attribute_value,           label: 'Attribute Value'
    end
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
ruby_smb-3.3.13 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.3.12 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.3.11 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.3.10 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.3.9 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.3.7 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.3.6 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.3.5 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.3.4 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.3.3 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.3.2 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.3.1 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.3.0 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.2.8 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.2.7 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.2.6 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.2.5 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.2.4 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.2.3 lib/ruby_smb/field/smb_fea.rb
ruby_smb-3.2.2 lib/ruby_smb/field/smb_fea.rb