Class: Nl::Linux::Nl80211::Structs::StaFlagUpdate
- Inherits:
-
Struct
- Object
- Struct
- Nl::Linux::Nl80211::Structs::StaFlagUpdate
- Defined in:
- nl-linux/generated/nl/linux/nl80211.rb,
nl-linux/generated/nl/linux/nl80211.rb
Instance Attribute Summary collapse
Class Method Summary collapse
-
.decode(decoder) ⇒ self
Decodes the struct.
Instance Method Summary collapse
-
#encode(encoder) ⇒ void
Encodes the struct.
Instance Attribute Details
Class Method Details
.decode(decoder) ⇒ self
Decodes the struct.
253 254 255 |
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 253 def self.decode(decoder) self.new(*MEMBERS.map {|name, datatype| datatype.decode(decoder) }) end |
Instance Method Details
#encode(encoder) ⇒ void
This method returns an undefined value.
Encodes the struct.
261 262 263 |
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 261 def encode(encoder) MEMBERS.each {|name, datatype| datatype.encode(encoder, self.public_send(name)) } end |