Class: Nl::Linux::Tc::Structs::GnetStatsRateEst64
- Inherits:
-
Struct
- Object
- Struct
- Nl::Linux::Tc::Structs::GnetStatsRateEst64
- Defined in:
- nl-linux/generated/nl/linux/tc.rb,
nl-linux/generated/nl/linux/tc.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.
1939 1940 1941 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 1939 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.
1947 1948 1949 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 1947 def encode(encoder) MEMBERS.each {|name, datatype| datatype.encode(encoder, self.public_send(name)) } end |