bytestring
bytestring copied to clipboard
readFile for ShortByteString?
I think we just need to create a pinned byte array. This would allow conversion to Text
without copying when reading from a file
Why would we create it pinned? Text
does not require its storage to be pinned.
Because hGetBuf
needs a Ptr
?
Right, makes sense.