MCPcopy Create free account
hub / github.com/amule-project/amule / GetIntTagValue

Method GetIntTagValue

src/SafeFile.cpp:585–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583}
584
585uint64 CFileDataIO::GetIntTagValue() const {
586
587 uint8 type = ReadUInt8();
588
589 ReadString(false);
590
591 switch (type) {
592
593 case TAGTYPE_UINT64:
594 return ReadUInt64();
595 break;
596
597 case TAGTYPE_UINT32:
598 return ReadUInt32();
599 break;
600
601 case TAGTYPE_UINT16:
602 return ReadUInt16();
603 break;
604
605 case TAGTYPE_UINT8:
606 return ReadUInt8();
607 break;
608
609 default:
610 throw wxString("Wrong tag type reading int tag");
611 }
612}
613// File_checked_for_headers

Callers 2

ProcessED2Kv2PacketMethod · 0.45

Calls 1

wxStringClass · 0.70

Tested by

no test coverage detected