module BinData::RegisterNamePlugin
Parameters¶ ↑
Parameters may be provided at initialisation to control the behaviour of an object. These parameters are:
:name
-
The name that this object can be referred to may be set explicitly. This is only useful when dynamically generating types. <code><pre>
BinData::Struct.new(name: :my_struct, fields: ...) array = BinData::Array.new(type: :my_struct)
</pre></code>