[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: C string as 'file' object
- From: ernie <elukie@...>
- Date: Fri, 23 Mar 2012 23:56:00 -0400
Is there an easy way to make a C string look like a read-only file
object (file:lines(), file:read(), file:seek())? Might not be too much
to implement from scratch, but wondering if someone's already seen this.