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

Method Get2

Libraries/unrar/rawread.cpp:83–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82
83ushort RawRead::Get2()
84{
85 if (ReadPos+1<DataSize)
86 {
87 ushort Result=Data[ReadPos]+(Data[ReadPos+1]<<8);
88 ReadPos+=2;
89 return Result;
90 }
91 return 0;
92}
93
94
95uint RawRead::Get4()

Callers 3

ReadHeaderMethod · 0.80
ReadHeader15Method · 0.80
ReadHeader14Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected