コード例 #1
0
 public static Offset <AbortPacket> CreateAbortPacket(FlatBufferBuilder builder,
                                                      short opcode = 0)
 {
     builder.StartObject(1);
     AbortPacket.AddOpcode(builder, opcode);
     return(AbortPacket.EndAbortPacket(builder));
 }
コード例 #2
0
 public static AbortPacket GetRootAsAbortPacket(ByteBuffer _bb, AbortPacket obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }