blob: c1de1625e73d7d57ef4d4d9480d603b27c5a1d12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
class _UniffiConverterInt8(_UniffiConverterPrimitiveInt):
CLASS_NAME = "i8"
VALUE_MIN = -2**7
VALUE_MAX = 2**7
@staticmethod
def read(buf):
return buf.read_i8()
@staticmethod
def write(value, buf):
buf.write_i8(value)
|