fuchsia.io/File.Seek
METHOD
fuchsia.io
sdk/fidl/fuchsia.io/file.fidl:97
Moves the offset at which the next invocation of [`Read`] or [`Write`]
will occur. The seek offset is specific to each file connection.
+ request `origin` the reference point where `offset` will be based on.
+ request `offset` the number of bytes to seek.
- response `offset_from_start` the adjusted seek offset, from the start
of the file.
This method does not require any rights.
Relationships
-
ACCEPTS_TYPE→fuchsia.io/origin -
ACCEPTS_TYPE→fuchsia.io/SeekOrigin -
ACCEPTS_TYPE→fuchsia.io/offset -
RETURNS_TYPE→fuchsia.io/offset_from_start
Documentation (1)
-
SUBSTANTIVE
sdk/fidl/fuchsia.io/file.fidl:97↗
Tests (1)
-
tests.unit
ConnectionTest.FileSeekDirectory
Examples (0)
No example references.
Gaps
Missing categories:
- examples