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.
Methods
Constants
| SEPARATOR | = | ":" |
| FORMAT | = | "%02x" |
| BASE | = | 16 |
Public Class methods
Used in describe.
[ show source ]
# File lib/bit-struct/hex-octet-field.rb, line 12 def self.class_name @class_name ||= "hex_octets" end