parameters: (self, data, offset)
return_statement: return struct.unpack('<H', data[offset*2:(offset+1)*2])[0]
docstring: Convert two bytes of data to a word (little endian)
          
          'offset' is assumed to index into a word array. So setting it to
          N will return a dword out of the data sarting at offset N*2.
  
          Returns None if the data can't be turned into a word.
docstring_summary: Convert two bytes of data to a word (little endian)
          
          'offset' is assumed to index into a word array. So setting it to
          N will return a dword out of the data sarting at offset N*2.
docstring_tokens: Convert two bytes of data to a word ( little endian ) offset is assumed to index into a word array . So setting it to N will return a dword out of the data sarting at offset N * 2 .
function: def get_word_from_data(self, data, offset):
          """Convert two bytes of data to a word (little endian)
          
          'offset' is assumed to index into a word array. So setting it to
          N will return a dword out of the data sarting at offset N*2.
  
          Returns None if the data can't be turned into a word.
          """
  
          if (offset+1)*2 > len(data):
              return None
  
          return struct.unpack('<H', data[offset*2:(offset+1)*2])[0]
function_tokens: def get_word_from_data ( self , data , offset ) : if ( offset + 1 ) * 2 > len ( data ) : return None return struct . unpack ( '<H' , data [ offset * 2 : ( offset + 1 ) * 2 ] ) [ 0 ]