bundles / nbformat latest / nbformat / v2 / rwbase / restore_bytes
function
nbformat.v2.rwbase:restore_bytes
source: /nbformat/v2/rwbase.py:27
Signature
def restore_bytes(nb)Summary
Restore bytes of image data from unicode-only formats.
Extended Summary
Base64 encoding is handled elsewhere. Bytes objects in the notebook are always b64-encoded. We DO NOT encode/decode around file formats.
Aliases
nbformat.v2.nbjson.restore_bytes