We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think we just need to create a pinned byte array. This would allow conversion to Text without copying when reading from a file
Text
The text was updated successfully, but these errors were encountered:
Why would we create it pinned? Text does not require its storage to be pinned.
Sorry, something went wrong.
Because hGetBuf needs a Ptr?
hGetBuf
Ptr
Right, makes sense.
readFile
shrinkMutableByteArray#
ShortByteString
No branches or pull requests
I think we just need to create a pinned byte array. This would allow conversion to
Text
without copying when reading from a fileThe text was updated successfully, but these errors were encountered: