Added base64 encoding/decoding for Property Array/String 75/184975/2
authorDavid Steele <david.steele@samsung.com>
Tue, 24 Jul 2018 19:25:22 +0000 (20:25 +0100)
committerDavid Steele <david.steele@samsung.com>
Wed, 25 Jul 2018 15:46:34 +0000 (15:46 +0000)
commitbe89a128154f4eb35ed88bbd03d446ab7c41cf64
treebc98151383c8a3063bddf673580c8446f02f87f1
parentc7ecf3ad7916ef6897fa192ea02ff7b1b2fc1bd8
Added base64 encoding/decoding for Property Array/String

We need a means of reading and writing data blocks through the property
system for CustomShaders in VK. Added a mechanism to allow encoding
a vector of uin32_t data into a Property::Value of type STRING or
ARRAY of STRINGS, and a means of decoding the same.

This allows us to keep the property system in line with a JSON encoding,
but trading off data size and decode time.

Change-Id: I2247b340571644b21be5b9ef87fc0e3108e2f571
Signed-off-by: David Steele <david.steele@samsung.com>
automated-tests/src/dali-toolkit/utc-Dali-Builder.cpp
dali-toolkit/devel-api/builder/base64-encoding.cpp [new file with mode: 0644]
dali-toolkit/devel-api/builder/base64-encoding.h [new file with mode: 0644]
dali-toolkit/devel-api/file.list
dali-toolkit/third-party/base-n/basen.hpp [new file with mode: 0644]