AcTools.Kn5File.Kn5Reader.Kn5Reader C# (CSharp) Method

Kn5Reader() public method

public Kn5Reader ( Stream input, bool withoutHeader = false ) : System
input Stream
withoutHeader bool
return System
        public Kn5Reader(Stream input, bool withoutHeader = false)
            : base(input) {
            if (!withoutHeader && new string(ReadChars(6)) != "sc6969") {
                throw new Exception("Not a valid KN5 file.");
            }
        }

Same methods

Kn5Reader::Kn5Reader ( string filename ) : System