コード例 #1
0
        public static GenericRequest DeserializeLengthDelimited(Stream stream, GenericRequest instance)
        {
            long num = (long)((ulong)ProtocolParser.ReadUInt32(stream));

            num += stream.get_Position();
            return(GenericRequest.Deserialize(stream, instance, num));
        }
コード例 #2
0
        public static GenericRequest DeserializeLengthDelimited(Stream stream, GenericRequest instance)
        {
            long position = (long)ProtocolParser.ReadUInt32(stream);

            position += stream.Position;
            return(GenericRequest.Deserialize(stream, instance, position));
        }
コード例 #3
0
 public static GenericRequest Deserialize(Stream stream, GenericRequest instance)
 {
     return(GenericRequest.Deserialize(stream, instance, -1L));
 }
コード例 #4
0
 public void Deserialize(Stream stream)
 {
     GenericRequest.Deserialize(stream, this);
 }