Beispiel #1
0
        protected virtual string Peep(BinaryReader reader)
        {
            //	Get the current position.
            long pos = reader.BaseStream.Position;

            //	Read a header.
            CaligariChunkHeader header = new CaligariChunkHeader();

            header.Read(reader);

            //	Move the file to it's original position.
            reader.BaseStream.Position = pos;

            //	Return the type.
            return(header.chunkType);
        }
Beispiel #2
0
        protected virtual string Peep(BinaryReader reader)
        {
            //	Get the current position.
            long pos = reader.BaseStream.Position;

            //	Read a header.
            CaligariChunkHeader header = new CaligariChunkHeader();
            header.Read(reader);

            //	Move the file to it's original position.
            reader.BaseStream.Position = pos;

            //	Return the type.
            return header.chunkType;
        }