Documentation
¶
Index ¶
- type TestFormat0
- type TestFormat10Bad
- type TestFormat11Bad
- type TestFormat12Bad
- type TestFormat13Bad
- type TestFormat14Bad
- type TestFormat1Bad
- type TestFormat2Bad
- type TestFormat5Bad
- type TestFormat6Bad
- type TestFormat7Bad
- type TestFormat8Bad
- type TestFormat9Bad
- type TestWord0
- type TestWord1
- type TestWord10Bad
- type TestWord11Bad
- type TestWord12Bad
- type TestWord13Bad
- type TestWord2
- type TestWord3Bad
- type TestWord4Bad
- type TestWord7Bad
- type TestWord8Bad
- type TestWord9Bad
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestFormat0 ¶
type TestFormat10Bad ¶
type TestFormat11Bad ¶
type TestFormat12Bad ¶
type TestFormat12Bad struct { }
type TestFormat13Bad ¶
type TestFormat14Bad ¶
type TestFormat14Bad uint // format is not a struct
type TestFormat1Bad ¶
type TestFormat1Bad struct { TestWord3Bad `word:"24"` TestWord1 `word:"32"` TestWord2 `word:"40"` }
type TestFormat2Bad ¶
type TestFormat2Bad struct { TestWord0 `word:"24"` TestWord4Bad `word:"32"` TestWord2 `word:"40"` }
type TestFormat5Bad ¶
type TestFormat5Bad struct { TestWord0 `word:"24"` TestWord7Bad `word:"32"` TestWord2 `word:"40"` }
type TestFormat6Bad ¶
type TestFormat6Bad struct { TestWord0 `word:"24"` TestWord1 `word:"32"` TestWord8Bad `word:"40"` }
type TestFormat7Bad ¶
type TestFormat7Bad struct { TestWord9Bad `word:"20"` // word length not a multiple of 8 TestWord1 `word:"32"` TestWord2 `word:"40"` }
type TestFormat8Bad ¶
type TestFormat9Bad ¶
type TestWord10Bad ¶
type TestWord10Bad struct { }
type TestWord11Bad ¶
type TestWord12Bad ¶
type TestWord13Bad ¶
type TestWord2 ¶
type TestWord2 struct { // 3 2 1 0 // 9876543210987654321098765432109876543210 TestField0 uint `bitfield:"3,37"` // |-| TestField1 uint `bitfield:"10,27"` // |--------| TestField2 uint `bitfield:"6,21"` // |----| TestField3 uint `bitfield:"13,8"` // |-----------| TestField4 uint `bitfield:"8,0"` // |------| }
type TestWord3Bad ¶
type TestWord4Bad ¶
type TestWord7Bad ¶
type TestWord8Bad ¶
type TestWord8Bad struct { // repeated fields 3 2 1 0 // 9876543210987654321098765432109876543210 TestField0 uint `bitfield:"3,37"` // |-| TestField1 uint `bitfield:"10,27"` // |--------| TestField2 uint `bitfield:"6,21"` // |----| TestField3 uint `bitfield:"6,21"` // |----| TestField4 uint `bitfield:"13,8"` // |-----------| TestField5 uint `bitfield:"8,0"` // |------| }
type TestWord9Bad ¶
Click to show internal directories.
Click to hide internal directories.