public override int Serialize(ref byte[] bytes, int offset, global::SharedLibrary.MyEnum value) { return(BinaryUtil.WriteInt32(ref bytes, offset, (Int32)value)); }
public UnaryResult <global::SharedLibrary.MyHugeResponse> Unary1(int x, int y, string z = "unknown", global::SharedLibrary.MyEnum e = SharedLibrary.MyEnum.Orange, global::SharedLibrary.MyStructResponse soho = default(global::SharedLibrary.MyStructResponse), ulong zzz = 9, global::SharedLibrary.MyRequest req = null) { var __request = LZ4MessagePackSerializer.Serialize(new DynamicArgumentTuple <int, int, string, global::SharedLibrary.MyEnum, global::SharedLibrary.MyStructResponse, ulong, global::SharedLibrary.MyRequest>(x, y, z, e, soho, zzz, req), base.resolver); var __callResult = callInvoker.AsyncUnaryCall(Unary1Method, base.host, base.option, __request); return(new UnaryResult <global::SharedLibrary.MyHugeResponse>(__callResult, base.resolver)); }