Debian Codegraph @

docs/modules/yaml/partials/int-ft-obj-base-props.adoc

raw
1 include::partial$ft-obj-inherit-prop.adoc[]
2 |
3
4 |[[size-prop]]`size`
5 |Positive integer
6 |Size of this field type's instances (bits).
7
8 This property's value must be in the [1,{nbsp}64] range.
9 |Yes
10 |
11
12 |[[align-prop]]`alignment`
13 |Power-of-two integer
14 |Alignment of the first bit of this field type's instances within a
15 xref:how-barectf-works:ctf-primer.adoc#pkt[CTF{nbsp}packet] (bits).
16 |No
17 |8 if the <<size-prop,`size` property>> is a multiple of{nbsp}8,
18 or{nbsp}1 otherwise.
19
20 |[[pref-disp-base-prop]]`preferred-display-base`
21 |String
22 |
23 The preferred base (radix) to use when displaying this field type's
24 instances.
25
26 The value of this property is only a _hint_ to CTF consumers; they don't
27 have to consider it.
28
29 This property's value must be one of:
30
31 `bin`::
32 `binary`::
33 Binary.
34
35 `oct`::
36 `octal`::
37 Octal.
38 `dec`::
39 `decimal`::
40 Decimal.
41
42 `hex`::
43 `hexadecimal`::
44 Hexadecimal.
45
46 |No
47 |Decimal preferred display base