本文整理汇总了C#中LittleEndianOutput类的典型用法代码示例。如果您正苦于以下问题:C# LittleEndianOutput类的具体用法?C# LittleEndianOutput怎么用?C# LittleEndianOutput使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LittleEndianOutput类属于命名空间,在下文中一共展示了LittleEndianOutput类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public void Serialize(LittleEndianOutput out1)
{
out1.WriteShort(FirstRow);
out1.WriteShort(LastRow);
out1.WriteShort(FirstColumn);
out1.WriteShort(LastColumn);
}
示例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);
}
示例3: Encode
public static void Encode(LittleEndianOutput out1, Array values)
{
for (int i = 0; i < values.Length; i++)
{
EncodeSingleValue(out1, values.GetValue(i));
}
}
示例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);
}
示例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);
}
}
示例6: Serialize
public override void Serialize(LittleEndianOutput out1)
{
out1.WriteShort(rt);
out1.WriteShort(grbitFrt);
out1.WriteShort(iObjectKind);
// 6 bytes unused
out1.Write(unused);
}
示例7: Write
public override void Write(LittleEndianOutput out1)
{
out1.WriteByte(sid + PtgClass);
out1.WriteShort(_sheetRefIndex);
out1.WriteShort(_nameNumber);
out1.WriteShort(_reserved);
}
示例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]);
}
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
}
示例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);
}
示例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);
}
}
示例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);
}
}