#NEWLINE# @ classmethod #NEWLINE# def frombytes( cls , octets ) : #NEWLINE# #INDENT# typecode = chr ( typecode [ 0 ] ) #NEWLINE# memv = memoryview ( octets [ 1 : ] ) . cast ( typecode ) #NEWLINE# return cls ( memv )