def parse_value(self, frmtcode, buff, start, end):
frmttype = self.util._formatmap[frmtcode]<EOL>if(frmtcode == FormatType.FLOAT_32.value.code):  <EOL><INDENT>return self.parse_float32(buff, start, end)<EOL><DEDENT>elif(frmtcode == FormatType.FLOAT_64.value.code):  <EOL><INDENT>return self.parse_float64(buff, start, end)<EOL><DEDENT>if frmttype.value.idx <= FormatType.FIXSTR.value.idx:  <EOL><INDENT>return self.parse_str(buff, start, end)<EOL><DEDENT>elif frmttype.value.idx <= FormatType.INT_64.value.idx:  <EOL><INDENT>return self.parse_int(buff, start, end)<EOL><DEDENT>elif frmttype.value.idx <= FormatType.UINT_64.value.idx:  <EOL><INDENT>return self.parse_uint(buff, start, end)<EOL><DEDENT>
parse the value from the buffer given the interval for the appropraite bytes
:param formattype:
:param buff:
:param start:
:param end: