MCPcopy Create free account
hub / github.com/csyonghe/Spire / GetBytes

Method GetBytes

Source/CoreLib/TextIO.cpp:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 {
15 public:
16 virtual void GetBytes(List<char> & result, const String & str) override
17 {
18 result.AddRange(str.Buffer(), str.Length());
19 }
20 virtual String ToString(const char * bytes, int /*length*/) override
21 {
22 return String(bytes);

Callers 3

WriteMethod · 0.45
ToWStringMethod · 0.45
EncodeStringMethod · 0.45

Calls 3

AddRangeMethod · 0.80
BufferMethod · 0.45
LengthMethod · 0.45

Tested by

no test coverage detected