# # Array # - name: Byte7 data: 0: "0x01" expected: "0x01000000_000000" - name: Byte7 data: 0: "0x01" 3: "0x03" expected: "0x01000003_000000" - name: Byte7 data: 0: "0x01" 3: "0x03" 6: "0x06" expected: "0x01000003_000006" # # Struct # - name: StructH data: f1: "0x001122" expected: "0x001122/00/0000/00000000" - name: StructH data: f2: "0x33" expected: "0x000000/33/0000/00000000" - name: StructH data: f3: "0x4455" expected: "0x000000/00/4455/00000000" - name: StructH data: f4: "0x66778899" expected: "0x000000/00/0000/66778899" - name: StructH data: f1: "0x001122" f2: "0x33" expected: "0x001122/33/0000/00000000" - name: StructH data: f1: "0x001122" f2: "0x33" f3: "0x4455" expected: "0x001122/33/4455/00000000" - name: StructH data: f1: "0x001122" f2: "0x33" f3: "0x4455" f4: "0x66778899" expected: "0x001122/33/4455/66778899" # # Vector # - name: Bytes data: - "0x01" expected: "0x01000000//01" - name: Bytes data: - "0x01" - "0x02" expected: "0x02000000//01/02" - name: Bytes data: - "0x01" - "0x02" - "0x03" expected: "0x03000000//01/02/03" - name: Words data: - "0x0123" expected: "0x01000000//0123" - name: Words data: - "0x0123" - "0x4567" expected: "0x02000000//0123/4567" - name: Words data: - "0x0123" - "0x4567" - "0x89ab" expected: "0x03000000//0123/4567/89ab" - name: Byte3Vec data: - "0x000000" expected: "0x01000000//000000" - name: Byte3Vec data: - "0x000000" - "0x111111" expected: "0x02000000//000000/111111" - name: Byte3Vec data: - "0x000000" - "0x111111" - "0x222222" expected: "0x03000000//000000/111111/222222" - name: Byte7Vec data: - "0x00000000_000000" expected: "0x01000000//\ 00000000_000000" - name: Byte7Vec data: - "0x00000000_000000" - "0x11111111_111111" expected: "0x02000000//\ 00000000_000000/\ 11111111_111111" - name: Byte7Vec data: - "0x00000000_000000" - "0x11111111_111111" - "0x22222222_222222" expected: "0x03000000//\ 00000000_000000/\ 11111111_111111/\ 22222222_222222" - name: StructIVec data: - "0x00000000" expected: "0x01000000//00000000" - name: StructIVec data: - "0x00000000" - "0x11111111" expected: "0x02000000//00000000/11111111" - name: StructIVec data: - "0x00000000" - "0x11111111" - "0x22222222" expected: "0x03000000//00000000/11111111/22222222" - name: StructJVec data: - "0x00000000_000000" expected: "0x01000000//\ 00000000_000000" - name: StructJVec data: - "0x00000000_000000" - "0x11111111_111111" expected: "0x02000000//\ 00000000_000000/\ 11111111_111111" - name: StructJVec data: - "0x00000000_000000" - "0x11111111_111111" - "0x22222222_222222" expected: "0x03000000//\ 00000000_000000/\ 11111111_111111/\ 22222222_222222" - name: StructPVec data: - "0x00000000_00000000" expected: "0x01000000//\ 00000000_00000000" - name: StructPVec data: - "0x00000000_00000000" - "0x11111111_11111111" expected: "0x02000000//\ 00000000_00000000/\ 11111111_11111111" - name: StructPVec data: - "0x00000000_00000000" - "0x11111111_11111111" - "0x22222222_22222222" expected: "0x03000000//\ 00000000_00000000/\ 11111111_11111111/\ 22222222_22222222" - name: BytesVec data: - "0x00000000" expected: "0x0c000000//08000000//00000000" - name: BytesVec data: - "0x00000000" - "0x01000000//00" expected: "0x15000000//\ 0c000000_10000000//\ 00000000\ 01000000//00" - name: BytesVec data: - "0x00000000" - "0x01000000//00" - "0x02000000//00/11" expected: "0x1f000000//\ 10000000_14000000_19000000//\ 00000000\ 01000000//00\ 02000000//00/11" - name: WordsVec data: - "0x00000000" expected: "0x0c000000//08000000//00000000" - name: WordsVec data: - "0x00000000" - "0x01000000//0000" expected: "0x16000000//\ 0c000000_10000000//\ 00000000\ 01000000//0000" - name: WordsVec data: - "0x00000000" - "0x01000000//0000" - "0x02000000//0000/1111" expected: "0x22000000//\ 10000000_14000000_1a000000//\ 00000000\ 01000000//0000\ 02000000//0000/1111" - name: ByteOptVec data: - "0x" expected: "0x08000000//08000000//" - name: ByteOptVec data: - "0x" - "0x" expected: "0x0c000000//0c000000_0c000000//" - name: ByteOptVec data: - "0x" - "0x" - "0x" expected: "0x10000000//10000000_10000000_10000000//" # # Table - name: Table5 data: f4: "0x02000000_1234" expected: "0x2d000000//\ 18000000_19000000_1d000000_23000000_29000000//\ 00/00000000/00000000_0000/02000000_1234/04000000" - name: Table5 data: f4: "0x02000000_1234" f5: "0x1f000000//\ 10000000_14000000_19000000//\ 00000000\ 01000000//00\ 02000000//00/11" expected: "0x48000000//\ 18000000_19000000_1d000000_23000000_29000000//\ 00/00000000/00000000_0000/02000000_1234/\ \ 1f000000//\ 10000000_14000000_19000000//\ 00000000\ 01000000//00\ 02000000//00/11" - name: TableA data: f1: "0x12345678" f2: "0xaabbccdd_eeff" f4: "0x1f000000//\ 10000000_14000000_19000000//\ 00000000\ 01000000//00\ 02000000//00/11" f6: "0x00000000" f7: "0x03000000//00000000" f8: "0x99" expected: "0x67000000//\ 24000000_28000000_2e000000_32000000_\ 51000000_5a000000_5e000000_66000000//\ \ 12345678/aabbccdd_eeff/00000000/\ \ 1f000000//\ 10000000_14000000_19000000//\ 00000000\ 01000000//00\ 02000000//00/11\ \ 09000000\ 08000000\ 00\ \ 00000000\ \ 03000000\ 00000000\ \ 99" # # # Option # - name: ByteOpt item: "0x00" expected: "0x00" - name: WordOpt item: "0x0000" expected: "0x0000" - name: StructAOpt item: "0x00/00/0000/0000" expected: "0x00/00/0000/0000" - name: StructPOpt item: "0x00000000_000000/00" expected: "0x00000000_000000/00" - name: BytesOpt item: "0x00000000" expected: "0x00000000" - name: WordsOpt item: "0x00000000" expected: "0x00000000" - name: BytesVecOpt item: "0x04000000" expected: "0x04000000" - name: WordsVecOpt item: "0x04000000" expected: "0x04000000" - name: Table0Opt item: "0x04000000" expected: "0x04000000" - name: Table6Opt item: "0x5a000000//\ 1c000000_1d000000_21000000_27000000_2b000000_2f000000//\ 00/00000000/00000000_0000/00000000/04000000/\ \ 2b000000\ 18000000_19000000_1d000000_23000000_27000000\ 00\ 00000000\ 00000000_0000\ 00000000\ 04000000" expected: "0x5a000000//\ 1c000000_1d000000_21000000_27000000_2b000000_2f000000//\ 00/00000000/00000000_0000/00000000/04000000/\ \ 2b000000\ 18000000_19000000_1d000000_23000000_27000000\ 00\ 00000000\ 00000000_0000\ 00000000\ 04000000" - name: Table6OptOpt item: "0x5a000000//\ 1c000000_1d000000_21000000_27000000_2b000000_2f000000//\ 00/00000000/00000000_0000/00000000/04000000/\ \ 2b000000\ 18000000_19000000_1d000000_23000000_27000000\ 00\ 00000000\ 00000000_0000\ 00000000\ 04000000" expected: "0x5a000000//\ 1c000000_1d000000_21000000_27000000_2b000000_2f000000//\ 00/00000000/00000000_0000/00000000/04000000/\ \ 2b000000\ 18000000_19000000_1d000000_23000000_27000000\ 00\ 00000000\ 00000000_0000\ 00000000\ 04000000" # # Union # - name: UnionA item: type: byte data: "0x00" expected: "0x00000000//00" - name: UnionA item: type: Word data: "0x0000" expected: "0x01000000//0000" - name: UnionA item: type: StructA data: "0x00/00/0000/0000" expected: "0x02000000//00/00/0000/0000" - name: UnionA item: type: Bytes data: "0x00000000" expected: "0x03000000//00000000" - name: UnionA item: type: Words data: "0x00000000" expected: "0x04000000//00000000" - name: UnionA item: type: Table0 data: "0x04000000" expected: "0x05000000//04000000" - name: UnionA item: type: Table6 data: "0x5a000000//\ 1c000000_1d000000_21000000_27000000_2b000000_2f000000//\ 00/00000000/00000000_0000/00000000/04000000/\ \ 2b000000\ 18000000_19000000_1d000000_23000000_27000000\ 00\ 00000000\ 00000000_0000\ 00000000\ 04000000" expected: "0x06000000//\ 5a000000//\ 1c000000_1d000000_21000000_27000000_2b000000_2f000000//\ 00/00000000/00000000_0000/00000000/04000000/\ \ 2b000000\ 18000000_19000000_1d000000_23000000_27000000\ 00\ 00000000\ 00000000_0000\ 00000000\ 04000000" - name: UnionA item: type: Table6Opt data: "0x" expected: "0x07000000" - name: UnionA item: type: Table6Opt data: "0x5a000000//\ 1c000000_1d000000_21000000_27000000_2b000000_2f000000//\ 00/00000000/00000000_0000/00000000/04000000/\ \ 2b000000\ 18000000_19000000_1d000000_23000000_27000000\ 00\ 00000000\ 00000000_0000\ 00000000\ 04000000" expected: "0x07000000//\ 5a000000//\ 1c000000_1d000000_21000000_27000000_2b000000_2f000000//\ 00/00000000/00000000_0000/00000000/04000000/\ \ 2b000000\ 18000000_19000000_1d000000_23000000_27000000\ 00\ 00000000\ 00000000_0000\ 00000000\ 04000000" - name: UnionB item: type: byte data: "0x02" expected: "0x02000000//02" - name: UnionB item: type: Word data: "0x0001" expected: "0x04000000//0001"