Patch: add ByteString.Unsafe.unsafePackMallocCStringLen
Bas van Dijk
v.dijk.bas at gmail.com
Wed Jun 20 18:40:46 CEST 2012
On 20 June 2012 11:40, Lauri Alanko <la at iki.fi> wrote:
> There's a minor lapse in Data.ByteString.Unsafe: unsafePackMallocCString,
> unlike the other unsafePack* -functions, doesn't have a variant with an
> explicit length. This is useful when interfacing with C libraries that
> return a blob of binary data that the caller must free. Attached is a darcs
> patch that adds it.
+1
More information about the Libraries
mailing list