private bool _atEnd(byte tag) { if (tag == 255) { // TODO: EOF logic return false; } else { return _reader.AtCloseTag(tag); } }