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