[#BufferedFile-SetPos]
= xref:BufferedFile.adoc[BufferedFile]::SetPos
:relfileprefix: ../
:mrdocs:

rewind to a given reading position

== Synopsis

Declared in `&lt;streams&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
SetPos(uint64&lowbar;t nPos);
----

== Return Value

True if the position was set exactly, false if it was clamped to the reachable range&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nPos*
| Absolute stream position to move the read pointer to&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
