lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Apr 30, 2013 at 12:51 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
> f = io.open("foo.mp3","rb")
> h = f:read(128)
> f:close()

Isn't h the first 128 bytes in this instance rather than the last 128 bytes?