public override void writeObject(ExportContext ctx, object value, TypeData[] typeArguments = null) { ctx.writeBool((bool)value); }