public MessageReplyHeader ReadMessageReplyHeader() { MessageReplyHeader mrh = new MessageReplyHeader(); mrh.requestId = ReadInt32(); byte b = ReadByte(); mrh.replyType = (MessageReplyType)Enum.ToObject(typeof(MessageReplyType), b); return(mrh); }
public MessageReplyHeader ReadMessageReplyHeader() { MessageReplyHeader mrh = new MessageReplyHeader(); mrh.requestId = ReadInt32(); byte b = ReadByte(); mrh.replyType = (MessageReplyType) Enum.ToObject (typeof (MessageReplyType), b); return mrh; }