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


C# ILittleEndianOutput.WriteByte方法代码示例

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


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

示例1: Serialize

        public override void Serialize(ILittleEndianOutput out1)
        {

            out1.WriteInt(grbit1);
            out1.WriteByte(grbit2);
            out1.WriteByte(citmShow);
            out1.WriteShort(isxdiSort);
            out1.WriteShort(isxdiShow);

            if (subName == null)
            {
                out1.WriteShort(STRING_NOT_PRESENT_LEN);
            }
            else
            {
                out1.WriteShort(subName.Length);
            }

            out1.WriteInt(reserved1);
            out1.WriteInt(reserved2);
            if (subName != null)
            {
                StringUtil.PutUnicodeLE(subName, out1);
            }

        }
开发者ID:JnS-Software-LLC,项目名称:npoi,代码行数:26,代码来源:ExtendedPivotTableViewFieldsRecord.cs

示例2: Serialize

 public void Serialize(ILittleEndianOutput out1)
 {
     out1.WriteShort(FirstRow);
     out1.WriteShort(LastRow);
     out1.WriteByte(FirstColumn);
     out1.WriteByte(LastColumn);
 }
开发者ID:Johnnyfly,项目名称:source20131023,代码行数:7,代码来源:CellRangeAddress8Bit.cs

示例3: Serialize

        public override void Serialize(ILittleEndianOutput out1)
        {
            int field_4_name_length = field_6_name_text.Length;
            int field_5_comment_length = field_7_comment_text.Length;

            out1.WriteShort(field_1_record_type);
            out1.WriteShort(field_2_frt_cell_ref_flag);
            out1.WriteLong(field_3_reserved);
            out1.WriteShort(field_4_name_length);
            out1.WriteShort(field_5_comment_length);

            out1.WriteByte(0);
            StringUtil.PutCompressedUnicode(field_6_name_text,out1);
            out1.WriteByte(0);
            StringUtil.PutCompressedUnicode(field_7_comment_text, out1);
        }
开发者ID:JnS-Software-LLC,项目名称:npoi,代码行数:16,代码来源:NameCommentRecord.cs

示例4: Write

 public override void Write(ILittleEndianOutput out1)
 {
     out1.WriteByte(sid + PtgClass);
     out1.WriteShort(field_1_index_extern_sheet);
     out1.WriteInt(unused1);
     out1.WriteInt(unused2);
 }
开发者ID:missxiaohuang,项目名称:Weekly,代码行数:7,代码来源:DeletedArea3DPtg.cs

示例5: Write

        public override void Write(ILittleEndianOutput out1)
        {
            out1.WriteByte(sid + PtgClass);
            out1.WriteShort(_sheetRefIndex);
            out1.WriteShort(_nameNumber);
            out1.WriteShort(_reserved);

        }
开发者ID:newlysoft,项目名称:npoi,代码行数:8,代码来源:NameXPtg.cs

示例6: Serialize

 public override void Serialize(ILittleEndianOutput out1)
 {
     out1.WriteShort(field_1_id);
     out1.WriteByte(field_4_text.Length);
     if (is16bit)
     {
         // Excel (2007) seems to choose 16bit regardless of whether it is needed
         out1.WriteByte(0x01);
         StringUtil.PutUnicodeLE(field_4_text, out1);
     }
     else
     {
         // Excel can read this OK
         out1.WriteByte(0x00);
         StringUtil.PutCompressedUnicode(field_4_text, out1);
     }
 }
开发者ID:xoposhiy,项目名称:npoi,代码行数:17,代码来源:SeriesTextRecord.cs

示例7: Write

 public override void Write(ILittleEndianOutput out1)
 {
     out1.WriteByte(Sid + PtgClass);
     WriteCoordinates(out1);
 }
开发者ID:missxiaohuang,项目名称:Weekly,代码行数:5,代码来源:Ref2DPtgBase.cs

示例8: Serialize

 public override void Serialize(ILittleEndianOutput out1)
 {
     out1.WriteByte(field_1_last_column_index);
     out1.WriteByte(field_2_first_column_index);
     out1.WriteShort(field_3_row_index);
     ConstantValueParser.Encode(out1, field_4_constant_values);
 }
开发者ID:missxiaohuang,项目名称:Weekly,代码行数:7,代码来源:CRNRecord.cs

示例9: Serialize

 public override void Serialize(ILittleEndianOutput out1)
 {
     out1.WriteByte(field_1_linkType);
     out1.WriteByte(field_2_referenceType);
     out1.WriteShort(field_3_options);
     out1.WriteShort(field_4_indexNumberFmtRecord);
     field_5_formulaOfLink.Serialize(out1);
 }
开发者ID:Johnnyfly,项目名称:source20131023,代码行数:8,代码来源:LinkedDataRecord.cs

示例10: Write

 public override void Write(ILittleEndianOutput out1)
 {
     out1.WriteByte(sid + PtgClass);
     out1.WriteInt(field_1_reserved);
 }
开发者ID:missxiaohuang,项目名称:Weekly,代码行数:5,代码来源:RefErrorPtg.cs

示例11: Serialize

        /**
         * Serialize the record data into the supplied array of bytes
         *
         * @param offset offset in the <c>data</c>
         * @param data the data to Serialize into
         *
         * @return size of the record
         */
        public override void Serialize(ILittleEndianOutput out1)
        {
            out1.WriteShort(field_1_row);
		    out1.WriteShort(field_2_col);
		    out1.WriteShort(field_3_flags);
		    out1.WriteShort(field_4_shapeid);
		    out1.WriteShort(field_6_author.Length);
		    out1.WriteByte(field_5_hasMultibyte ? 0x01 : 0x00);
		    if (field_5_hasMultibyte) {
			    StringUtil.PutUnicodeLE(field_6_author, out1);
		    } else {
			    StringUtil.PutCompressedUnicode(field_6_author, out1);
		    }
		    if (field_7_padding != null) {
			    out1.WriteByte(Convert.ToInt32(field_7_padding, CultureInfo.InvariantCulture));
		    }

        }
开发者ID:Johnnyfly,项目名称:source20131023,代码行数:26,代码来源:NoteRecord.cs

示例12: WriteTokenValueBytes

        public int WriteTokenValueBytes(ILittleEndianOutput out1)
        {

            out1.WriteByte(_nColumns - 1);
            out1.WriteShort(_nRows - 1);
            ConstantValueParser.Encode(out1, _arrayValues);
            return 3 + ConstantValueParser.GetEncodedSize(_arrayValues);
        }
开发者ID:missxiaohuang,项目名称:Weekly,代码行数:8,代码来源:ArrayPtg.cs

示例13: Write

 public override void Write(ILittleEndianOutput out1)
 {
     out1.WriteByte(sid + PtgClass);
     out1.WriteInt(_reserved0Int);
     out1.WriteShort(_reserved1Short);
     out1.WriteByte(_reserved2Byte);
 }
开发者ID:missxiaohuang,项目名称:Weekly,代码行数:7,代码来源:ArrayPtg.cs

示例14: Write

        public override void Write(ILittleEndianOutput out1)
        {
		    out1.WriteByte(sid + PtgClass);
		    out1.WriteShort(field_1_label_index);
		    out1.WriteShort(field_2_zero);
        }
开发者ID:xoposhiy,项目名称:npoi,代码行数:6,代码来源:NamePtg.cs

示例15: Write

 public override void Write(ILittleEndianOutput out1)
 {
     out1.WriteByte(sid + PtgClass);
     out1.WriteByte(_numberOfArgs);
     out1.WriteShort(_functionIndex);
 }
开发者ID:JnS-Software-LLC,项目名称:npoi,代码行数:6,代码来源:FuncVarPtg.cs


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