Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Add base64 module#183

Merged
trotterdylan merged 1 commit intogoogle:masterfrom
S-YOU:base64
Jan 21, 2017
Merged

Add base64 module#183
trotterdylan merged 1 commit intogoogle:masterfrom
S-YOU:base64

Conversation

@S-YOU
Copy link
Copy Markdown
Contributor

@S-YOU S-YOU commented Jan 21, 2017

  • Only import _struct as struct changes to this one.
% make run 
import base64
encoded = base64.b64encode('data to be encoded')
print encoded
data = base64.b64decode(encoded)
print data

ZGF0YSB0byBiZSBlbmNvZGVk
data to be encoded

Copy link
Copy Markdown
Contributor

@trotterdylan trotterdylan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thanks for doing this! Merging.

@trotterdylan trotterdylan merged commit a821eae into google:master Jan 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants