[Ur] Getting file data out of blob/out of file

fold at tuta.io fold at tuta.io
Fri Oct 28 01:11:08 EDT 2016


Hi Justin,
There are no functions to operate on blobs in the base library, as far as I know. You can add such functions into your project using C FFI, that is easy and straightforward - check PDF documentation for details.

One example would be https://github.com/grwlf/urweb-captcha


28. Oct 2016 13:55 by justin.marsh at flaviusb.net:


> Hi all,
>
> So, I can see functions to get, create, and return blobs, but not anything to unpack or operate on them. Is there any way to do this in Ur/Web at the moment?
>
> Alternatively, is there any way to get the data out of a file value directly in a way that I could then eg parse it?
>
> Cheers,
> Justin.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.impredicative.com/pipermail/ur/attachments/20161028/4abfe093/attachment.html>


More information about the Ur mailing list