diff mercurial/sslutil.py @ 39413:babad5ebaf0a

cborutil: add a buffering decoder The sansiodecoder leaves it up to the callers to feed in data that wasn't fully consumed last time. This commit implements a decoder that performs buffering of leftover chunks from the previous invocation. It otherwise behaves identically to sansiodecoder. Differential Revision: https://phab.mercurial-scm.org/D4434
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 29 Aug 2018 14:29:01 -0700
parents 67dc32d4e790
children 0d226b2139df
line wrap: on
line diff