当前位置: 首页>>代码示例>>C#>>正文


C# RecordInputStream.ReadUShort方法代码示例

本文整理汇总了C#中RecordInputStream.ReadUShort方法的典型用法代码示例。如果您正苦于以下问题:C# RecordInputStream.ReadUShort方法的具体用法?C# RecordInputStream.ReadUShort怎么用?C# RecordInputStream.ReadUShort使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在RecordInputStream的用法示例。


在下文中一共展示了RecordInputStream.ReadUShort方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: LinkedDataRecord

        /**
         * Constructs a LinkedData record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public LinkedDataRecord(RecordInputStream in1)
        {
            field_1_linkType = (byte)in1.ReadByte();
            field_2_referenceType = (byte)in1.ReadByte();
            field_3_options = in1.ReadShort();
            field_4_indexNumberFmtRecord = in1.ReadShort();
            int encodedTokenLen = in1.ReadUShort();
            field_5_formulaOfLink = Formula.Read(encodedTokenLen, in1);
        }
开发者ID:Johnnyfly,项目名称:source20131023,代码行数:15,代码来源:LinkedDataRecord.cs

示例2: SeriesListRecord

        /**
         * Constructs a SeriesList record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */
        public SeriesListRecord(RecordInputStream in1)
        {
            int nItems = in1.ReadUShort();
            short[] ss = new short[nItems];
            for (int i = 0; i < nItems; i++) {
                ss[i] = in1.ReadShort();

            }
            field_1_seriesNumbers = ss;
        }
开发者ID:babywzazy,项目名称:Server,代码行数:15,代码来源:SeriesListRecord.cs

示例3: OfficeArtFOPTE

 public OfficeArtFOPTE(RecordInputStream ris)
 {
     Opid = new OfficeArtFOPTEOPID((ushort)ris.ReadUShort());
     Op = ris.ReadInt();
     if (Opid.IsComplex)
     {
         complexData = new byte[Op];
         for (int i = 0; i < complexData.Length; i++)
             complexData[i] = (byte)ris.ReadByte();
     }
 }
开发者ID:hanwangkun,项目名称:npoi,代码行数:11,代码来源:OfficeArtFOPTE.cs

示例4: ChartTitleFormatRecord

 public ChartTitleFormatRecord(RecordInputStream in1)
 {
     m_recs = in1.ReadUShort();
     int idx;
     CTFormat ctf;
     if (m_formats == null)
     {
         m_formats = new ArrayList(m_recs);
     }
     for (idx = 0; idx < m_recs; idx++)
     {
         ctf = new CTFormat(in1.ReadShort(), in1.ReadShort());
         m_formats.Add(ctf);
     }
 }
开发者ID:89sos98,项目名称:npoi,代码行数:15,代码来源:ChartTitleFormatRecord.cs

示例5: CrtLayout12ARecord

 public CrtLayout12ARecord(RecordInputStream ris)
 {
     frtHeader.rt = (ushort)ris.ReadUShort();
     frtHeader.grbitFrt = (ushort)ris.ReadUShort();
     ris.ReadLong();
     field_1_dwCheckSum = ris.ReadInt();
     field_2_option = ris.ReadShort();
     field_3_xTL = ris.ReadShort();
     field_4_yTL = ris.ReadShort();
     field_5_xBR = ris.ReadShort();
     field_6_yBR = ris.ReadShort();
     field_7_wXMode = ris.ReadShort();
     field_8_wYMode = ris.ReadShort();
     field_9_wWidthMode = ris.ReadShort();
     field_10_wHeightMode = ris.ReadShort();
     field_11_x = ris.ReadDouble();
     field_12_y = ris.ReadDouble();
     field_13_dx = ris.ReadDouble();
     field_14_dy = ris.ReadDouble();
     reserved2 = ris.ReadShort();
 }
开发者ID:xiepeixing,项目名称:npoi,代码行数:21,代码来源:CrtLayout12ARecord.cs

示例6: OfficeArtRecordHeader

 public OfficeArtRecordHeader(RecordInputStream ris)
 {
     field_1_recVer_Instance = ris.ReadShort();
     field_2_recType = (ushort)ris.ReadUShort();
     field_3_recLen = ris.ReadInt();
 }
开发者ID:ctddjyds,项目名称:npoi,代码行数:6,代码来源:OfficeArtRecordHeader.cs


注:本文中的RecordInputStream.ReadUShort方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。