MCPcopy Create free account
hub / github.com/chasingboy/Xtools / Base64DecodeTextCommand

Class Base64DecodeTextCommand

xtools.py:335–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333
334
335class Base64DecodeTextCommand(sublime_plugin.TextCommand):
336 def run(self, edit):
337 text = get_buffer_text(self.view)
338 text = base64.b64decode(text.encode())
339 panel_print(self.view, edit, text.decode())
340
341
342class Base64EncodeLineCommand(sublime_plugin.TextCommand):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected