本文整理汇总了C#中FlatBuffers.FlatBufferBuilder.AddBool方法的典型用法代码示例。如果您正苦于以下问题:C# FlatBufferBuilder.AddBool方法的具体用法?C# FlatBufferBuilder.AddBool怎么用?C# FlatBufferBuilder.AddBool使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FlatBuffers.FlatBufferBuilder
的用法示例。
在下文中一共展示了FlatBufferBuilder.AddBool方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: CreateSectorsVector
public static VectorOffset CreateSectorsVector(FlatBufferBuilder builder, bool[] data)
{
builder.StartVector(1, data.Length, 1); for (int i = data.Length - 1; i >= 0; i--) builder.AddBool(data[i]); return builder.EndVector();
}
示例2: AddUseDq
public static void AddUseDq(FlatBufferBuilder builder, bool useDq)
{
builder.AddBool(1, useDq, false);
}
示例3: AddUsePostDisplacements
public static void AddUsePostDisplacements(FlatBufferBuilder builder, bool usePostDisplacements)
{
builder.AddBool(3, usePostDisplacements, false);
}
示例4: AddTestbool
public static void AddTestbool(FlatBufferBuilder builder, bool testbool)
{
builder.AddBool(15, testbool, false);
}
示例5: AddDone
public static void AddDone(FlatBufferBuilder builder, bool done)
{
builder.AddBool(3, done, false);
}
示例6: AddPaused
public static void AddPaused(FlatBufferBuilder builder, bool paused)
{
builder.AddBool(3, paused, false);
}
示例7: AddValue
public static void AddValue(FlatBufferBuilder builder, bool value)
{
builder.AddBool(1, value, false);
}
示例8: AddEnabled
public static void AddEnabled(FlatBufferBuilder builder, bool enabled)
{
builder.AddBool(4, enabled, false);
}
示例9: AddIsTracked
public static void AddIsTracked(FlatBufferBuilder builder, bool isTracked)
{
builder.AddBool(1, isTracked, false);
}
示例10: AddIsRestricted
public static void AddIsRestricted(FlatBufferBuilder builder, bool isRestricted)
{
builder.AddBool(2, isRestricted, false);
}