.push(size)
.invokeInterface(BlockBuilder.class, "writeBytes", BlockBuilder.class, Slice.class, int.class, int.class)
.invokeInterface(BlockBuilder.class, "closeEntry", BlockBuilder.class)
.pop();
}
serializerBody.ret();
}
private static void generateSerializeFieldToSlice(Block body, Variable slice, Method getter, int offset)
{
Method sliceSetterMethod = StateCompilerUtils.getSliceSetter(getter.getReturnType());