コード例 #1
0
        public ChartEndObjectRecord(RecordInputStream in1)
        {
            rt          = in1.ReadShort();
            grbitFrt    = in1.ReadShort();
            iObjectKind = in1.ReadShort();

            reserved = new byte[6];
            // The spec says that there should be 6 bytes at the
            //  end, which must be there and must be zero
            // However, sometimes Excel forgets them...
            reserved = new byte[6];
            if (in1.Available() == 0)
            {
                // They've gone missing...
            }
            else
            {
                // Read the reserved bytes
                in1.ReadFully(reserved);
            }
        }
コード例 #2
0
 public int Available()
 {
     return(_in.Available());
 }