Untitled
public text v1 · immutable static void Read1Node(int targetRRN)
{
rIndex_bin.Seek((targetRRN - 1) * SizeOfNode + SizeOfHeaderRec, SeekOrigin.Begin);
rIndex = new StreamReader(rIndex_bin);
string[] buffer = rIndex.ReadLine().Split(' ');
for (int i = 0; i < M-1; i++)
{
TP[i] = Int32.Parse(buffer[i * 3]);
KV[i] = buffer[i * 3 + 1];
DRP[i] = Int32.Parse(buffer[i * 3 + 2]);
}
TP[M - 1] = Int32.Parse(buffer[(M - 1) * 3]);
}