Semantics of seek
#57618
Labels
io
Involving the I/O subsystem: libuv, read, write, etc.
needs decision
A decision on this change is needed
I'm not sure what the precise semantics of
seek
should be. Currently, it's underdefined, and I think we should exploit that the current lack of documentation (and inconsistent behaviour) gives us freedom to defineseek
as we want (rather than just documenting how it actually behaves currently).IOStream
, but not forIOBuffer
seek
on an unseekable IO? Should it be a noop or throw an error? Which error?The text was updated successfully, but these errors were encountered: