code: def read(self, size):
          
          if isinstance(size, SV):
              size = size.value
  
          buff = self.__buff[self.__idx:self.__idx + size]
          self.__idx += size
  
          return buff
docs: Read from the current offset a total number of `size` bytes
          and increment the offset by `size`
  
          :param int size: length of bytes to read
          :rtype: bytearray