aboutsummaryrefslogtreecommitdiffstats
path: root/util/dbuffer.lua
Commit message (Expand)AuthorAgeFilesLines
* util: Prefix module imports with prosody namespaceKim Alvefur2023-03-171-1/+1
* util.dbuffer: Add efficient shortcuts for discard() in certain casesMatthew Wild2022-10-111-2/+6
* util.dbuffer: Remove redundant code (read_chunk() cannot fail at this point)Matthew Wild2022-10-111-7/+3
* util.dbuffer: Fix bugs, remove multi-char support (more complex than first th...Matthew Wild2021-06-291-3/+3
* util.dbuffer: Add read_until() methodMatthew Wild2021-06-291-0/+14
* util.dbuffer: Add __name to metatableMatthew Wild2020-10-301-1/+1
* util.dbuffer: Optimize :sub() and :byte()Matthew Wild2020-10-281-4/+26
* util.dbuffer: Expose length as :len() method, like stringsKim Alvefur2020-10-121-0/+1
* util.dbuffer: Fix :sub() not working with partially-consumed chunks (thanks Z...Matthew Wild2020-08-241-0/+176