private BTreeNode rpos(int pos) { return(stringToNode(Filem.rpos(fileName, (pos - 1) * maxSize, maxSize) + '@')); }
private const char seperator = '|', ender = '@'; //Customizable private void wpos(int pos, BTreeNode b) { string what = nodeToString(b); Filem.wpos(fileName, (pos - 1) * maxSize, what); }
private void wlastpos(int x) { string x2 = Convert.ToString(x); Filem.wpos(rootFileName, lastposp, x2); }
private int lastpos() { return(Convert.ToInt32(Filem.rpos(rootFileName, lastposp, maxSize))); }
private void wroot(int x) { string x2 = Convert.ToString(x); Filem.wpos(rootFileName, 0, x2); }
//private BTreeNode[] nodes; private int root() { return(Convert.ToInt32(Filem.rpos(rootFileName, 0, maxSize))); }