System.Text.UTF7Encoding.Decoder.Decoder C# (CSharp) Method

Decoder() private method

private Decoder ( SerializationInfo info, StreamingContext context ) : System
info SerializationInfo
context StreamingContext
return System
            internal Decoder(SerializationInfo info, StreamingContext context)
            {
                // Any info?
                if (info==null) throw new ArgumentNullException("info");

                // Get common info
                this.bits = (int)info.GetValue("bits", typeof(int));
                this.bitCount = (int)info.GetValue("bitCount", typeof(int));
                this.firstByte = (bool)info.GetValue("firstByte", typeof(bool));
                this.m_encoding = (Encoding)info.GetValue("encoding", typeof(Encoding));
            }

Same methods

UTF7Encoding.Decoder::Decoder ( UTF7Encoding encoding ) : System