Add comment in StringExtractor::GetHexU8

llvm-svn: 248601
This commit is contained in:
Dawn Perchik
2015-09-25 18:23:50 +00:00
parent 28bd7d4afe
commit 5e8115b33b

View File

@@ -120,11 +120,13 @@ StringExtractor::DecodeHexU8()
//----------------------------------------------------------------------
// Extract an unsigned character from two hex ASCII chars in the packet
// string
// string, or return fail_value on failure
//----------------------------------------------------------------------
uint8_t
StringExtractor::GetHexU8 (uint8_t fail_value, bool set_eof_on_fail)
{
// On success, fail_value will be overwritten with the next
// character in the stream
GetHexU8Ex(fail_value, set_eof_on_fail);
return fail_value;
}