case 'H': final String hexRep = readNullTerminatedString(byteBuffer); value = StringUtil.hexStringToBytes(hexRep); break; case 'B':
return StringUtil.hexStringToBytes(stringVal); } catch (NumberFormatException e) { throw new SAMFormatException("Tag of type H should have valid hex string with even number of digits");
case 'H': final String hexRep = readNullTerminatedString(byteBuffer); return StringUtil.hexStringToBytes(hexRep); default: throw new SAMFormatException("Unrecognized tag type: " + (char)tagType);
case 'H': final String hexRep = readNullTerminatedString(byteBuffer); return StringUtil.hexStringToBytes(hexRep); default: throw new SAMFormatException("Unrecognized tag type: " + (char)tagType);
return StringUtil.hexStringToBytes(stringVal); } catch (NumberFormatException e) { throw new SAMFormatException("Tag of type H should have valid hex string with even number of digits");
case 'H': final String hexRep = readNullTerminatedString(byteBuffer); return StringUtil.hexStringToBytes(hexRep); case 'B': final TagValueAndUnsignedArrayFlag valueAndFlag = readArray(
case 'H': final String hexRep = readNullTerminatedString(byteBuffer); return StringUtil.hexStringToBytes(hexRep); default: throw new SAMFormatException("Unrecognized tag type: " + (char)tagType);
return StringUtil.hexStringToBytes(stringVal); } catch (NumberFormatException e) { throw new SAMFormatException("Tag of type H should have valid hex string with even number of digits");
case 'H': final String hexRep = readNullTerminatedString(byteBuffer); return StringUtil.hexStringToBytes(hexRep); case 'B': final TagValueAndUnsignedArrayFlag valueAndFlag = readArray(