#NEWLINE# @ classmethod #NEWLINE# def decode( self , message ) : #NEWLINE# #INDENT# '\n        Convert from the bytestring wire protocol\n\n        Parameters\n        ----------\n        message : bytes\n\n        Returns\n        -------\n        message : IbisTaskMessage\n        ' #NEWLINE# buf = PackedMessageReader ( message ) #NEWLINE# sem_id = buf . uint32 ( ) #NEWLINE# shmem_name = buf . string ( ) #NEWLINE# shmem_offset = buf . uint64 ( ) #NEWLINE# shmem_size = buf . uint64 ( ) #NEWLINE# return IbisTaskMessage ( sem_id , shmem_name , shmem_offset , shmem_size )