Org.BouncyCastle.Asn1.IndefiniteLengthInputStream.RequireByte C# (CSharp) Method

RequireByte() private method

private RequireByte ( ) : int
return int
        private int RequireByte()
        {
            int b = _in.ReadByte();
            if (b < 0)
            {
                // Corrupted stream
                throw new EndOfStreamException();
            }
            return b;
        }