System.Configuration.ClientSettingsStore.QuotaEnforcedStream.WriteByte C# (CSharp) Метод

WriteByte() публичный Метод

public WriteByte ( byte value ) : void
value byte
Результат void
            public override void WriteByte(byte value) {
                if (!CanWrite) {
                    throw new NotSupportedException();
                }

                long oldLen = _originalStream.Length;
                long newLen = _originalStream.CanSeek ? _originalStream.Position + 1 : _originalStream.Length + 1;
                EnsureQuota(Math.Max(oldLen, newLen));

                _originalStream.WriteByte(value);
            }