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
There are many scenarios where I have access to a file descriptor (or HANDLE on win32) but not a path. For example, a secure temporary file on Linux can be just a floating inode - it doesn't actually have a file path at all.
This would make supporting high-level wrappers such as Python simpler, since just the file handle can be pushed down to yyjson from any file-like object that supports it. We don't want to read the file handle in Python and then pass the data to yyjson, as this requires a double allocation.
The text was updated successfully, but these errors were encountered:
There are many scenarios where I have access to a file descriptor (or HANDLE on win32) but not a path. For example, a secure temporary file on Linux can be just a floating inode - it doesn't actually have a file path at all.
This would make supporting high-level wrappers such as Python simpler, since just the file handle can be pushed down to yyjson from any file-like object that supports it. We don't want to read the file handle in Python and then pass the data to yyjson, as this requires a double allocation.
The text was updated successfully, but these errors were encountered: