Skip to content

raylib.EncodeDataBase64

JoeStrout edited this page Nov 16, 2026 · 3 revisions

Encode data (a string or RawData) to a Base64 string. If dataSize > 0, only that many bytes are encoded

Parameters

Parameter Default Value Note
data
dataSize

Return value

Condition Return Value
(always) string

Notes

Example

data = "Hello, world!"
b64 = raylib.EncodeDataBase64(data, data.len)
print "Base64: " + b64

Clone this wiki locally