Google.Protobuf.UninterpretedOption.Deserialize C# (CSharp) Method

Deserialize() public static method

Helper: put the buffer into a MemoryStream and create a new instance to deserializing into
public static Deserialize ( byte buffer ) : UninterpretedOption
buffer byte
return UninterpretedOption
        public static UninterpretedOption Deserialize(byte[] buffer)
        {
            var instance = new UninterpretedOption();
            using (var ms = new MemoryStream(buffer))
                Deserialize(ms, instance);
            return instance;
        }

Same methods

UninterpretedOption::Deserialize ( Stream stream, Google instance ) : Google.Protobuf.UninterpretedOption
UninterpretedOption::Deserialize ( byte buffer, Google instance ) : Google.Protobuf.UninterpretedOption
UninterpretedOption::Deserialize ( Stream stream ) : UninterpretedOption