Commit Graph

2 Commits (bc402b6409639f130f2ef7f13c9e240194de859c)

Author SHA1 Message Date
Kim Alvefur d3b3e21720 util.dbuffer: Expose length as :len() method, like strings 5 years ago
Matthew Wild 91d42d3218 util.dbuffer: Fix :sub() not working with partially-consumed chunks (thanks Zash for test case) 5 years ago
Matthew Wild 7fa4cc8de0 util.dbuffer: Fix :sub() not working with partially-consumed chunks (thanks Zash for test case) 5 years ago
Matthew Wild 9115d2a366 util.dbuffer: Fix traceback when :collapse() is called on empty buffer 5 years ago
Matthew Wild 67cf276ba2 util.dbuffer: If no bytes parameter passed to read, return remainder of frontmost chunk 6 years ago
Matthew Wild fb8e10737d util.dbuffer: dynamic string buffer 6 years ago