From: Tom M Date: 2007-11-08T23:40:44+09:00 Subject: Re: Buffer to string On Nov 8, 7:24 am, Jari Williamsson wrote: > I have a buffer (stored in a String class) with a NULL-terminated > C-style string inside, what's the most efficient approach to get that > text string up to the NULL? > > Best regards, > > Jari Williamsson Would buf.unpack("a*") work?