@Test
public void testCompile_FixedLengthByteArrayInStructure() throws Exception {

  final JBBPCompiledBlock block = JBBPCompiler.compile("out { some {byte [3] HeLLo;} }");
  final byte[] compiled = block.getCompiledData();
  assertEquals(8, compiled.length);
  assertEquals(JBBPCompiler.CODE_STRUCT_START | JBBPCompiler.FLAG_NAMED, compiled[0]);
  assertEquals(JBBPCompiler.CODE_STRUCT_START | JBBPCompiler.FLAG_NAMED, compiled[1]);
  assertEquals(JBBPCompiler.CODE_BYTE | JBBPCompiler.FLAG_NAMED | JBBPCompiler.FLAG_ARRAY, compiled[2] & 0xFF);
  assertEquals(3, compiled[3]);
  assertEquals(JBBPCompiler.CODE_STRUCT_END, compiled[4]);
  assertEquals(1, compiled[5]);
  assertEquals(JBBPCompiler.CODE_STRUCT_END, compiled[6]);
  assertEquals(0, compiled[7]);
  assertEquals(3, block.getNamedFields().length);
  assertEquals("out", block.getNamedFields()[0].getFieldPath());
  assertEquals("out.some", block.getNamedFields()[1].getFieldPath());
  assertEquals("out.some.hello", block.getNamedFields()[2].getFieldPath());
}