本文整理匯總了C#中libJT.Utilities.ByteReader.ReadGuid方法的典型用法代碼示例。如果您正苦於以下問題:C# ByteReader.ReadGuid方法的具體用法?C# ByteReader.ReadGuid怎麽用?C# ByteReader.ReadGuid使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類libJT.Utilities.ByteReader
的用法示例。
在下文中一共展示了ByteReader.ReadGuid方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: ReadV8
protected override void ReadV8(ByteReader reader)
{
Compression = reader.ReadU32() == 2;
CompressedLength = reader.ReadI32();
Algorithm = reader.ReadByte();
reader.Inflate(true, CompressedLength - 1);
// Decompress the remainder of the header
Length = reader.ReadI32();
ObjectTypeID = reader.ReadGuid();
ObjectBaseType = (ObjectBaseType) reader.ReadByte();
}
示例2: ReadV10
protected override void ReadV10(ByteReader reader)
{
Length = reader.ReadI32();
ObjectTypeID = reader.ReadGuid();
ObjectBaseType = (ObjectBaseType)reader.ReadByte();
ObjectID = reader.ReadI32();
}
示例3: ReadV8
protected override void ReadV8(ByteReader reader)
{
base.ReadV8(reader);
SegmentID = reader.ReadGuid();
SegmentType = reader.ReadI32();
}
示例4: ReadV9
private void ReadV9(ByteReader reader)
{
EmptyInt = reader.ReadI32();
TocOffset = reader.ReadI32();
LsgSegmentID = reader.ReadGuid();
if (EmptyInt != 0)
EmptyGuid = reader.ReadGuid();
}
示例5: ReadV8
private void ReadV8(ByteReader reader)
{
EmptyInt = reader.ReadI32();
TocOffset = reader.ReadI32();
LsgSegmentID = reader.ReadGuid();
}
示例6: Read
public void Read(ByteReader reader)
{
SegmentID = reader.ReadGuid();
SegmentType = (SegmentType)reader.ReadI32();
SegmentLength = reader.ReadI32();
}