Log

util/dbuffer.lua @ 13204:c9ef35fab0b1

description author age
util: Prefix module imports with prosody namespace Kim Alvefur Fri, 17 Mar 2023 16:23:16 +0100
util.dbuffer: Add efficient shortcuts for discard() in certain cases Matthew Wild Tue, 11 Oct 2022 11:37:55 +0100
util.dbuffer: Remove redundant code (read_chunk() cannot fail at this point) Matthew Wild Tue, 11 Oct 2022 11:34:47 +0100
util.dbuffer: Fix bugs, remove multi-char support (more complex than first thought) Matthew Wild Tue, 29 Jun 2021 14:25:57 +0100
util.dbuffer: Add read_until() method Matthew Wild Tue, 29 Jun 2021 13:48:14 +0100
util.dbuffer: Add __name to metatable Matthew Wild Fri, 30 Oct 2020 13:53:39 +0000
Merge 0.11->trunk Matthew Wild Wed, 28 Oct 2020 14:32:33 +0000
util.dbuffer: Optimize :sub() and :byte() 0.11 Matthew Wild Wed, 28 Oct 2020 14:21:09 +0000
Merge 0.11->trunk Kim Alvefur Mon, 12 Oct 2020 21:29:20 +0200
util.dbuffer: Expose length as :len() method, like strings 0.11 Kim Alvefur Mon, 12 Oct 2020 20:20:02 +0200
Merge 0.11->trunk Matthew Wild Tue, 29 Sep 2020 15:30:48 +0100
util.dbuffer: Fix :sub() not working with partially-consumed chunks (thanks Zash for test case) 0.11 Matthew Wild Mon, 24 Aug 2020 16:18:13 +0100
util.dbuffer: Fix :sub() not working with partially-consumed chunks (thanks Zash for test case) Matthew Wild Mon, 24 Aug 2020 16:18:13 +0100
util.dbuffer: Fix traceback when :collapse() is called on empty buffer Matthew Wild Thu, 20 Aug 2020 15:22:19 +0100
util.dbuffer: If no bytes parameter passed to read, return remainder of frontmost chunk Matthew Wild Mon, 29 Jun 2020 12:51:28 +0100