Sha256: daae837bce5958ad2bec7dca4851100805eb1f61dbcdcd503f934963953a3a30

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

# frozen_string_literal: true

require 'bindata'

module Pio
  class Dhcp
    # DHCP ParameterList Format.
    class ParameterList < BinData::Primitive
      array :octets,
            type: :uint8,
            initial_length: :tlv_info_length

      def set(value)
        self.octets = value
      end

      def get
        octets
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pio-0.30.2 lib/pio/dhcp/parameter_list.rb