MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Blob

Method Blob

Source/Engine/Serialization/JsonWriter.cpp:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#include "Engine/Utilities/Encryption.h"
21
22void JsonWriter::Blob(const void* data, int32 length)
23{
24 ::Array<char> base64;
25 base64.Resize(Encryption::Base64EncodeLength(length));
26 Encryption::Base64Encode((const byte*)data, length, base64.Get());
27 String(base64.Get(), base64.Count());
28}
29
30void JsonWriter::DateTime(const ::DateTime& value)
31{

Callers 2

SerializeMethod · 0.45
SerializeMethod · 0.45

Calls 4

StringFunction · 0.70
ResizeMethod · 0.45
GetMethod · 0.45
CountMethod · 0.45

Tested by

no test coverage detected