Sha256: b8a2f03eab9829c73eb987043cc8b508b381b01678773feb7f58b5b538c84947

Contents?: true

Size: 409 Bytes

Versions: 1

Compression:

Stored size: 409 Bytes

Contents

# frozen_string_literal: true

require 'bindata'
require 'pio/ethernet_header'
require 'pio/class_inspector'
require 'pio/instance_inspector'
require 'pio/ruby_dumper'

module Pio
  # Ethernet frame parser
  class EthernetFrame < BinData::Record
    extend ClassInspector
    include Ethernet
    include InstanceInspector
    include RubyDumper

    endian :big

    ethernet_header
    rest :rest
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pio-0.30.2 lib/pio/ethernet_frame.rb