| 20 | #include "Engine/Utilities/Encryption.h" |
| 21 | |
| 22 | void 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 | |
| 30 | void JsonWriter::DateTime(const ::DateTime& value) |
| 31 | { |