Return the number of bytes that the data in the range specified by [first, last)] will fill when written to the file descriptor. Note that on Unix, or for a binary file on Windows, this value will be last - first, but for on Windows in text mode, extra bytes are added when `
would be written to the file descriptor as r
`.
Declared in <bdls_fdstreambuf.h>
std::streamoff
getOffset(
char* first,
char* last) const;