-
Notifications
You must be signed in to change notification settings - Fork 56
Type usage syntax
Ingvar Stepanyan edited this page Sep 2, 2013
·
2 revisions
Types can be used in any of the following forms:
- String
'typeName'
- will be retrieved from binary's type set and used without arguments. - Array
['typeName', arg1, arg2, ..., argN]
- will be retrieved by type name and used with given argument list. - Structure object
{name1: type1, name2: type2, ...}
- shorthand for['object', structure]
. - Bit length number - shorthand for
['bitfield', length]
.