Sha256: 96dc792759385411f8bfb741f7dd325bc766cb1541ed50eb58d92f69f715078f

Contents?: true

Size: 321 Bytes

Versions: 3

Compression:

Stored size: 321 Bytes

Contents

# encoding: utf-8

require 'bindata'
require 'pio/type/open_flow'

module Pio
  class Features
    # OpenFlow 1.0 Features message format.
    class Format < BinData::Record
      extend Type::OpenFlow

      endian :big

      openflow_header
      string :body, read_length: -> { message_length - 8 }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pio-0.8.1 lib/pio/features/format.rb
pio-0.8.0 lib/pio/features/format.rb
pio-0.7.0 lib/pio/features/format.rb