tfchain/encoders/rivine.py
def add_int16(self, value):
        """
        Encode an uin16/int16 as two bytes, using little-endianness,
        as specified by the rivbin encoding specification.

        @param value: int value that fits in two bytes
        """
        self._check_int_type(value, _INT_2BYTE_UPPERLIMIT)
        self._data += int(value).to_bytes(2, byteorder='little')

        Encode an uin16/int16 as two bytes, using little-endianness,
        as specified by the rivbin encoding specification.

        @param value: int value that fits in two bytes
        
Encode an uin16/int16 as two bytes, using little-endianness,
as specified by the rivbin encoding specification.
Encode an uin16 / int16 as two bytes using little - endianness as specified by the rivbin encoding specification .
def add_int16(self, value):
        self._check_int_type(value, _INT_2BYTE_UPPERLIMIT)
        self._data += int(value).to_bytes(2, byteorder='little')
def add_int16 ( self , value ) : self . _check_int_type ( value , _INT_2BYTE_UPPERLIMIT ) self . _data += int ( value ) . to_bytes ( 2 , byteorder = 'little' )
Encode an uin16/int16 as two bytes, using little-endianness,
as specified by the rivbin encoding specification.
Encode an uin16 / int16 as two bytes using little - endianness as specified by the rivbin encoding specification .
"""
        Encode an uin16/int16 as two bytes, using little-endianness,
        as specified by the rivbin encoding specification.

        @param value: int value that fits in two bytes
        """
self
value
int value that fits in two bytes
int value that fits in two bytes