本文整理汇总了C#中LittleEndianOutput类的典型用法代码示例。如果您正苦于以下问题:C# LittleEndianOutput类的具体用法?C# LittleEndianOutput怎么用?C# LittleEndianOutput使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LittleEndianOutput类属于命名空间,在下文中一共展示了LittleEndianOutput类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: Serialize
public void Serialize(LittleEndianOutput out1)
{
out1.WriteShort(FirstRow);
out1.WriteShort(LastRow);
out1.WriteShort(FirstColumn);
out1.WriteShort(LastColumn);
}
开发者ID:babywzazy,项目名称:Server,代码行数:7,代码来源:CellRangeAddress.cs
示例2: Serialize
public override void Serialize(LittleEndianOutput 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:uwitec,项目名称:web-mvc-logistics,代码行数:7,代码来源:CRNRecord.cs
示例3: Encode
public static void Encode(LittleEndianOutput out1, Array values)
{
for (int i = 0; i < values.Length; i++)
{
EncodeSingleValue(out1, values.GetValue(i));
}
}
开发者ID:babywzazy,项目名称:Server,代码行数:7,代码来源:ConstantValueParser.cs
示例4: Write
public override void Write(LittleEndianOutput out1)
{
out1.WriteByte(sid + PtgClass);
out1.WriteShort(field_1_index_extern_sheet);
out1.WriteInt(unused1);
out1.WriteInt(unused2);
}
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:7,代码来源:DeletedArea3DPtg.cs
示例5: Serialize
public override void Serialize(LittleEndianOutput 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:uwitec,项目名称:web-mvc-logistics,代码行数:26,代码来源:ExtendedPivotTableViewFieldsRecord.cs
示例6: Serialize
public override void Serialize(LittleEndianOutput out1)
{
out1.WriteShort(rt);
out1.WriteShort(grbitFrt);
out1.WriteShort(iObjectKind);
// 6 bytes unused
out1.Write(unused);
}
开发者ID:Henry-T,项目名称:UnityPG,代码行数:8,代码来源:ChartEndBlockRecord.cs
示例7: Write
public override void Write(LittleEndianOutput out1)
{
out1.WriteByte(sid + PtgClass);
out1.WriteShort(_sheetRefIndex);
out1.WriteShort(_nameNumber);
out1.WriteShort(_reserved);
}
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:8,代码来源:NameXPtg.cs
示例8: Serialize
public override void Serialize(LittleEndianOutput out1)
{
int nItems = field_1_seriesNumbers.Length;
out1.WriteShort(nItems);
for (int i = 0; i < nItems; i++)
{
out1.WriteShort(field_1_seriesNumbers[i]);
}
}
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:9,代码来源:SeriesListRecord.cs
示例9: Serialize
public override void Serialize(LittleEndianOutput out1)
{
out1.WriteShort(rt);
out1.WriteShort(grbitFrt);
out1.WriteShort(iObjectKind);
out1.WriteShort(iObjectContext);
out1.WriteShort(iObjectInstance1);
out1.WriteShort(iObjectInstance2);
}
开发者ID:Henry-T,项目名称:UnityPG,代码行数:9,代码来源:ChartStartBlockRecord.cs
示例10: Serialize
public override void Serialize(LittleEndianOutput out1)
{
out1.WriteShort(isxvdData);
out1.WriteShort(iiftab);
out1.WriteShort(df);
out1.WriteShort(isxvd);
out1.WriteShort(isxvi);
out1.WriteShort(ifmt);
StringUtil.WriteUnicodeString(out1, name);
}
开发者ID:babywzazy,项目名称:Server,代码行数:11,代码来源:DataItemRecord.cs
示例11: Serialize
public override void Serialize(LittleEndianOutput out1)
{
out1.WriteShort(rt);
out1.WriteShort(grbitFrt);
out1.Write(unused);
out1.WriteInt(cts);
out1.WriteShort(rgchDefListStyle.Length);
out1.WriteShort(rgchDefPivotStyle.Length);
StringUtil.PutUnicodeLE(rgchDefListStyle, out1);
StringUtil.PutUnicodeLE(rgchDefPivotStyle, out1);
}
开发者ID:babywzazy,项目名称:Server,代码行数:13,代码来源:TableStylesRecord.cs
示例12: Serialize
public override void Serialize(LittleEndianOutput out1)
{
out1.WriteShort(rt);
out1.WriteShort(grbitFrt);
out1.WriteByte(verOriginator);
out1.WriteByte(verWriter);
int nCFRTIDs = rgCFRTID.Length;
out1.WriteShort(nCFRTIDs);
for (int i = 0; i < nCFRTIDs; i++)
{
rgCFRTID[i].Serialize(out1);
}
}
开发者ID:babywzazy,项目名称:Server,代码行数:14,代码来源:ChartFRTInfoRecord.cs
示例13: Serialize
public override void Serialize(LittleEndianOutput out1)
{
out1.WriteShort(sid);
out1.WriteShort(DataSize);
out1.WriteInt(0);
out1.WriteShort(field_1_iVal);
out1.WriteShort(field_2_iMin);
out1.WriteShort(field_3_iMax);
out1.WriteShort(field_4_dInc);
out1.WriteShort(field_5_dPage);
out1.WriteShort(field_6_fHoriz);
out1.WriteShort(field_7_dxScroll);
out1.WriteShort(field_8_options);
}
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:15,代码来源:ScrollableObjectSubRecord.cs
示例14: Serialize
public override void Serialize(LittleEndianOutput out1)
{
out1.WriteShort(sxaxis);
out1.WriteShort(cSub);
out1.WriteShort(grbitSub);
out1.WriteShort(cItm);
if (name != null)
{
StringUtil.WriteUnicodeString(out1, name);
}
else
{
out1.WriteShort(STRING_NOT_PRESENT_LEN);
}
}
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:17,代码来源:ViewFieldsRecord.cs
示例15: UnknownLengthRecordOutput
public UnknownLengthRecordOutput(LittleEndianOutput out1, int sid)
{
_originalOut = out1;
out1.WriteShort(sid);
if (out1 is DelayableLittleEndianOutput)
{
// optimisation
DelayableLittleEndianOutput dleo = (DelayableLittleEndianOutput)out1;
_dataSizeOutput = dleo.CreateDelayedOutput(2);
_byteBuffer = null;
_out = out1;
}
else
{
// otherwise temporarily Write all subsequent data to a buffer
_dataSizeOutput = out1;
_byteBuffer = new byte[RecordInputStream.MAX_RECORD_DATA_SIZE];
_out = new LittleEndianByteArrayOutputStream(_byteBuffer, 0);
}
}
开发者ID:babywzazy,项目名称:Server,代码行数:20,代码来源:UnknownLengthRecordOutput.cs
示例16: Serialize
public override void Serialize(LittleEndianOutput out1)
{
out1.WriteShort(idstm);
}
开发者ID:uwitec,项目名称:web-mvc-logistics,代码行数:4,代码来源:StreamIDRecord.cs
示例17: Serialize
public override void Serialize(LittleEndianOutput out1)
{
out1.WriteShort(rt);
out1.WriteShort(grbitFrt);
out1.WriteShort(wOffset);
out1.WriteShort(at);
out1.WriteShort(grbit);
if (unused != null)
out1.WriteShort((short)unused);
}
开发者ID:babywzazy,项目名称:Server,代码行数:10,代码来源:CatLabRecord.cs
示例18: Serialize
public override void Serialize(LittleEndianOutput 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);
out1.Write(Encoding.UTF8.GetBytes(field_6_name_text));
out1.WriteByte(0);
out1.Write(Encoding.UTF8.GetBytes(field_7_comment_text));
}
开发者ID:babywzazy,项目名称:Server,代码行数:16,代码来源:NameCommentRecord.cs
示例19: Serialize
public override void Serialize(LittleEndianOutput out1)
{
out1.WriteShort(field_1_options);
}
开发者ID:babywzazy,项目名称:Server,代码行数:4,代码来源:DatRecord.cs
示例20: Write
public override void Write(LittleEndianOutput out1)
{
out1.WriteByte(sid + PtgClass);
}
开发者ID:babywzazy,项目名称:Server,代码行数:4,代码来源:ParenthesisPtg.cs
注:本文中的LittleEndianOutput类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论