本文整理汇总了C#中LittleEndianOutput.WriteShort方法的典型用法代码示例。如果您正苦于以下问题:C# LittleEndianOutput.WriteShort方法的具体用法?C# LittleEndianOutput.WriteShort怎么用?C# LittleEndianOutput.WriteShort使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类LittleEndianOutput
的用法示例。
在下文中一共展示了LittleEndianOutput.WriteShort方法的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.WriteShort(rt);
out1.WriteShort(grbitFrt);
out1.WriteShort(iObjectKind);
// 6 bytes unused
out1.Write(unused);
}
示例3: Write
public override void Write(LittleEndianOutput out1)
{
out1.WriteByte(sid + PtgClass);
out1.WriteShort(_sheetRefIndex);
out1.WriteShort(_nameNumber);
out1.WriteShort(_reserved);
}
示例4: 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);
}
示例5: 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]);
}
}
示例6: 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);
}
示例7: 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);
}
示例8: Write
public override void Write(LittleEndianOutput out1)
{
out1.WriteByte(sid + PtgClass);
out1.WriteShort(field_1_index_extern_sheet);
out1.WriteInt(unused1);
out1.WriteInt(unused2);
}
示例9: 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);
}
}
示例10: 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);
}
}
示例11: 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);
}
示例12: 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);
}
}
示例13: Serialize
public override void Serialize(LittleEndianOutput out1)
{
out1.WriteShort(field_1_flags);
out1.WriteByte(field_2_empty);
out1.WriteByte(0); //reserved field
}
示例14: WriteTokenValueBytes
public int WriteTokenValueBytes(LittleEndianOutput out1)
{
out1.WriteByte(token_1_columns-1);
out1.WriteShort(token_2_rows-1);
ConstantValueParser.Encode(out1, token_3_arrayValues);
return 3 + ConstantValueParser.GetEncodedSize(token_3_arrayValues);
}
示例15: Write
public override void Write(LittleEndianOutput out1)
{
out1.WriteByte(sid + PtgClass);
out1.WriteShort(field_1_len_ref_subexpression);
}