class BitStruct::HexOctetField

Class for char fields that can be accessed with values like “xx:xx:xx:xx”, where each xx is up to 2 hex digits representing a single octet. The original string-based accessors are still available with the _chars suffix.

Declared with BitStruct.hex_octets.

Constants

BASE
FORMAT
SEPARATOR

Public Class Methods

class_name() click to toggle source

Used in describe.

# File lib/bit-struct/hex-octet-field.rb, line 12
def self.class_name
  @class_name ||= "hex_octets"
end