MCPcopy Create free account
hub / github.com/beefytech/Beef / GetMulticharInt

Method GetMulticharInt

BeefySysLib/img/PSDReader.cpp:56–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56int32 PSDValue::GetMulticharInt()
57{
58 if (mString.length() < 4)
59 return 0;
60 char chars [] = {(char) mString[3], (char) mString[2], (char) mString[1], (char) mString[0]};
61 return *((int*) chars);
62}
63
64bool PSDDescriptor::IsEmpty()
65{

Callers 4

ReadEffectGradientMethod · 0.80
ReadBlendModeMethod · 0.80
ReadEffectSectionMethod · 0.80
ReadGradientFillMethod · 0.80

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected