#NEWLINE# @ staticmethod #NEWLINE# def from_stream( body ) : #NEWLINE# #INDENT# if ( len ( body ) < 16 ) : #NEWLINE# #INDENT# raise ValueError ( 'Not enough data' ) #NEWLINE# #UNINDENT# ( msg , size ) = HandshakeMessage . from_stream ( body ) #NEWLINE# return ( Sslv2Record ( msg ) , size )