[#BloombergLP-bdls-FdStreamBuf_FileHandler-getOffset] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FdStreamBuf_FileHandler.adoc[FdStreamBuf_FileHandler]::getOffset :relfileprefix: ../../../ :mrdocs: 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 `. == Synopsis Declared in `<bdls_fdstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::streamoff getOffset( char* first, char* last) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#