Method: BitStruct::Vector#struct_class_length

Defined in:
lib/bit-struct/vector.rb

#struct_class_lengthObject

Convenience method for instances. Returns the string length in bytes of each entry in the vector.



93
94
95
# File 'lib/bit-struct/vector.rb', line 93

def struct_class_length
  self.class.struct_class.round_byte_length
end