Class: Pio::PacketOut::Body
- Inherits:
-
BinData::Record
- Object
- BinData::Record
- Pio::PacketOut::Body
- Defined in:
- lib/pio/packet_out.rb
Overview
Message body of Packet-Out
Instance Method Summary collapse
Instance Method Details
#empty? ⇒ Boolean
18 19 20 |
# File 'lib/pio/packet_out.rb', line 18 def empty? false end |
#length ⇒ Object
22 23 24 |
# File 'lib/pio/packet_out.rb', line 22 def length 8 + actions_len + data.length end |