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
25 26 27 |
# File 'lib/pio/arp/format.rb', line 25 def operation end |
#to_binary ⇒ Object
29 30 31 |
# File 'lib/pio/arp/format.rb', line 29 def to_binary to_binary_s + "\000" * (64 - num_bytes) end |