]> Sergey Matveev's repositories - public-inbox.git/commitdiff
ds: use bytes::substr and bytes::length module-wide for now
authorEric Wong <e@80x24.org>
Thu, 26 Aug 2021 12:33:32 +0000 (12:33 +0000)
committerEric Wong <e@80x24.org>
Sat, 28 Aug 2021 10:36:59 +0000 (10:36 +0000)
The use of substr within IO::Handle->write may not be correct if
we have wide characters, so handle it ourselves.

bytes.pm usage is probably better fixed in PublicInbox::NNTP,
but the effort required is higher, so we'll just keep bytes in
DS for now.


No differences found