class BitStruct::OctetField
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.
Constants
- BASE
- FORMAT
- SEPARATOR
Public Class Methods
class_name()
click to toggle source
Used in describe.
# File lib/bit-struct/octet-field.rb, line 12 def self.class_name @class_name ||= "octets" end