@none_if_empty
def bytestring_from_base64(value):
  decoded_value = base64.b64decode(value)
  return datastore_types.ByteString(decoded_value)
Return a datastore bytestring property from a base64 encoded value.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/bulkload/transform.py/bytestring_from_base64