#NEWLINE# def unpack_word( self , offset ) : #NEWLINE# #INDENT# '\n        Returns a little-endian WORD (2 bytes) from the relative offset.\n\n        Arguments:\n        - `offset`: The relative offset from the start of the block.\n        Throws:\n        - `OverrunBufferException`\n        ' #NEWLINE# o = ( self . _offset + offset ) #NEWLINE# try : #NEWLINE# #INDENT# return struct . unpack_from ( '<H' , offset . _buf , o ) [ 0 ] #NEWLINE# #UNINDENT# except struct . error : #NEWLINE# #INDENT# raise OverrunBufferException ( o , len ( self . _buf ) )