public static ServerRequest DeserializeLengthDelimited(Stream stream, ServerRequest instance)
        {
            long num = (long)((ulong)ProtocolParser.ReadUInt32(stream));

            num += stream.get_Position();
            return(ServerRequest.Deserialize(stream, instance, num));
        }
예제 #2
0
        public static ServerRequest DeserializeLengthDelimited(Stream stream, ServerRequest instance)
        {
            long position = (long)ProtocolParser.ReadUInt32(stream);

            position += stream.Position;
            return(ServerRequest.Deserialize(stream, instance, position));
        }
 public static ServerRequest Deserialize(Stream stream, ServerRequest instance)
 {
     return(ServerRequest.Deserialize(stream, instance, -1L));
 }
 public void Deserialize(Stream stream)
 {
     ServerRequest.Deserialize(stream, this);
 }