Class for char fields that can be accessed with values like "xxx.xxx.xxx.xxx", where each xxx is up to 3 decimal digits representing a single octet. The original string-based accessors are still available with the _chars suffix.
Declared with BitStruct.octets.
Methods
Constants
| SEPARATOR | = | "." |
| FORMAT | = | "%d" |
| BASE | = | 10 |
Public Class methods
Used in describe.
[ show source ]
# File lib/bit-struct/octet-field.rb, line 12 def self.class_name @class_name ||= "octets" end