System.Drawing.IconLib.TNAMEINFO.Read(System.IO.Stream)

Here are the examples of the csharp api class System.Drawing.IconLib.TNAMEINFO.Read(System.IO.Stream) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: bdhero
Source File: Structs.cs
public void Read(Stream stream)
        {
            BinaryReader br = new BinaryReader(stream);
            rtTypeID        = br.ReadUInt16();

            if (rtTypeID == 0)
                return;

            rtResourceCount = br.ReadUInt16();
            rtReserved      = br.ReadUInt32();
            rtNameInfo      = new TNAMEINFO[rtResourceCount];
            for(int i=0; i<rtNameInfo.Length; i++)
                rtNameInfo[i].Read(stream);
        }