MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / Get4

Method Get4

Libraries/unrar/rawread.cpp:95–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93
94
95uint RawRead::Get4()
96{
97 if (ReadPos+3<DataSize)
98 {
99 uint Result=Data[ReadPos]+(Data[ReadPos+1]<<8)+(Data[ReadPos+2]<<16)+
100 (Data[ReadPos+3]<<24);
101 ReadPos+=4;
102 return Result;
103 }
104 return 0;
105}
106
107
108uint64 RawRead::Get8()

Callers 6

ReadHeaderMethod · 0.80
ReadHeader15Method · 0.80
ReadHeader50Method · 0.80
ProcessExtra50Method · 0.80
ReadHeader14Method · 0.80
ReadRawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected