private void Read(X360Reader reader) { StringOffset = reader.ReadInt64(); StringLength = reader.ReadInt32(); reader.Skip(4); long endPosition = reader.BaseStream.Position; reader.BaseStream.Position = StringOffset; Value = reader.ReadString(StringLength); reader.BaseStream.Position = endPosition; }
private void Read(X360Reader reader) { DataOffset = reader.ReadInt64(); DataSize = reader.ReadUInt64(); FpkString fileName = FpkString.ReadFpkString(reader); Md5Hash = reader.ReadBytes(16); fileName.ResolveString(Md5Hash); FilePathFpkString = fileName; }