protected bool IsEOF(BinaryMemoryReader reader)
 {
     return(reader.PeekChar() == -1);
 }