{ } Raw JSON

bundles / nbformat latest / nbformat / v3 / rwbase / restore_bytes

function

nbformat.v3.rwbase:restore_bytes

source: /nbformat/v3/rwbase.py:10

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.

Note: this is never used

Aliases

  • nbformat.v3.rwbase.restore_bytes