parameters: (self, fail_value=0)
docstring: Extract a single uint16_t from the binary file at the current file position, returns a single integer
docstring_summary: Extract a single uint16_t from the binary file at the current file position, returns a single integer
docstring_tokens: Extract a single uint16_t from the binary file at the current file position returns a single integer
function: def get_uint16(self, fail_value=0):
          '''Extract a single uint16_t from the binary file at the current file position, returns a single integer'''
          s = self.read_size(2)
          if s:
              v, = struct.unpack(self.byte_order + 'H', s)
              return v
          else:
              return fail_value
function_tokens: def get_uint16 ( self , fail_value = 0 ) : s = self . read_size ( 2 ) if s : v , = struct . unpack ( self . byte_order + 'H' , s ) return v else : return fail_value