Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/Base64-decode-data/Ring/base64-decode-data.ring
Normal file
15
Task/Base64-decode-data/Ring/base64-decode-data.ring
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#======================================#
|
||||
# Sample: Base64 decode data
|
||||
# Author: Gal Zsolt, Mansour Ayouni
|
||||
#======================================#
|
||||
|
||||
load "guilib.ring"
|
||||
|
||||
oQByteArray = new QByteArray()
|
||||
oQByteArray.append("Rosetta Code Base64 decode data task")
|
||||
oba = oQByteArray.toBase64().data()
|
||||
see oba + nl
|
||||
|
||||
oQByteArray = new QByteArray()
|
||||
oQByteArray.append(oba)
|
||||
see oQByteArray.fromBase64(oQByteArray).data()
|
||||
Loading…
Add table
Add a link
Reference in a new issue