You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I think only when there indeed is something wrong does C# throw a exception. Or at least there is some way to check before, for example call File.Exists before calling File.Read~.
There seems no way to check whether Offset exist or not before calling QueryOffset.
Describe the solution you'd like
Add one of the following overloads or modify current implementation of QueryOffset.
bangjiehan
changed the title
Avoid thrown OffsetNotFoundException in StreamSystem.QueryOffset(string, string)
Avoid throwing OffsetNotFoundException in StreamSystem.QueryOffset(string, string)
Mar 20, 2024
Is your feature request related to a problem? Please describe.
I think only when there indeed is something wrong does C# throw a exception. Or at least there is some way to check before, for example call File.Exists before calling File.Read~.
There seems no way to check whether Offset exist or not before calling QueryOffset.
Describe the solution you'd like
Add one of the following overloads or modify current implementation of QueryOffset.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: