view mercurial/cext/base85.pyi @ 48815:e9ca736f5b52

cext: remove Python 2 file handling code Differential Revision: https://phab.mercurial-scm.org/D12226
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 20 Feb 2022 15:45:51 -0700
parents 8dca9051a859
children 9367571fea21
line wrap: on
line source

from typing import Optional

version: int

def b85encode(text: bytes, pad: Optional[int]) -> bytes: ...
def b85decode(text: bytes) -> bytes: ...