public static Offset <NodeConnectResultMessage> CreateNodeConnectResultMessage(FlatBufferBuilder builder, NodeConnectResult success = NodeConnectResult.Success, sbyte errorNode = 0) { builder.StartObject(2); NodeConnectResultMessage.AddErrorNode(builder, errorNode); NodeConnectResultMessage.AddSuccess(builder, success); return(NodeConnectResultMessage.EndNodeConnectResultMessage(builder)); }
public static NodeConnectResultMessage GetRootAsNodeConnectResultMessage(ByteBuffer _bb, NodeConnectResultMessage obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }