```d myFile.seek(-1, SEEK_END); ubyte c[1]; myFile.rawRead(c[]); if(c[0] == '\n') // ends in newline ```
-Steve
Steven Schveighoffer via Digitalmars-d-learn Tue, 14 Feb 2023 18:06:44 -0800
```d myFile.seek(-1, SEEK_END); ubyte c[1]; myFile.rawRead(c[]); if(c[0] == '\n') // ends in newline ```
-Steve