pass options from Datagram2 and Datagram3 to handlers

This commit is contained in:
orignal
2025-09-25 20:47:08 -04:00
parent acb09c3119
commit dc9cdf941d
8 changed files with 53 additions and 16 deletions

View File

@@ -223,7 +223,7 @@ namespace util
size_t Mapping::FromBuffer (size_t size, const uint8_t * buf, size_t len)
{
if (len < size) return 0;
if (!size || len < size) return 0;
size_t offset = 0;
while (offset < size)
{