def load_byte(buf, pos):
 end = (pos + 1)
 if (end > len(buf)):
  raise BadRarFile('cannot load byte')
 return (S_BYTE.unpack_from(buf, pos)[0], end)

def load_byte ( buf , pos ) : end = ( pos + 1 ) if ( end > len ( buf ) ) : raise BadRarFile ( 'cannot load byte' ) return ( S_BYTE . unpack_from ( buf , pos ) [ 0 ] , end )
load single byte .