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

Method ReadAscii32SizedString

BeefySysLib/DataStream.cpp:102–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102String DataStream::ReadAscii32SizedString()
103{
104 int size = (int) ReadInt32();
105 if (size == 0)
106 return String();
107
108 String aString;
109 aString.Append(' ', size);
110 Read((void*) aString.c_str(), size);
111
112 return aString;
113}
114
115String DataStream::ReadUnicode32SizedString()
116{

Callers 5

ReadIdStringMethod · 0.80
ReadPSDDescriptorMethod · 0.80
ReadFileMethod · 0.80
ReadBFFileMethod · 0.80
ReadMethod · 0.80

Calls 4

StringClass · 0.85
ReadFunction · 0.85
AppendMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected