Class: Pio::Arp::Format
- Inherits:
-
BinData::Record
- Object
- BinData::Record
- Pio::Arp::Format
- Extended by:
- Type::EthernetHeader
- Defined in:
- lib/pio/arp/format.rb
Overview
ARP parser.
Instance Method Summary collapse
Methods included from Type::EthernetHeader
Instance Method Details
#message_type ⇒ Object
27 28 29 |
# File 'lib/pio/arp/format.rb', line 27 def operation end |
#to_binary ⇒ Object
31 32 33 |
# File 'lib/pio/arp/format.rb', line 31 def to_binary to_binary_s + "\000" * (64 - num_bytes) end |