Class: Melos::Struct::KDFLabel

Inherits:
Base
  • Object
show all
Defined in:
lib/melos/struct/structs.rb

Overview

8

Constant Summary collapse

STRUCT =
[
  [:length, :uint16],
  [:label, :vec],
  [:context, :vec]
]

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#deserialize_select_elem_with_context, #initialize, #raw

Constructor Details

This class inherits a constructor from Melos::Struct::Base

Instance Attribute Details

#contextObject (readonly)

Returns the value of attribute context.



256
257
258
# File 'lib/melos/struct/structs.rb', line 256

def context
  @context
end

#labelObject (readonly)

Returns the value of attribute label.



256
257
258
# File 'lib/melos/struct/structs.rb', line 256

def label
  @label
end

#lengthObject (readonly)

Returns the value of attribute length.



256
257
258
# File 'lib/melos/struct/structs.rb', line 256

def length
  @length
end