code: def from_raw(self, raw: RawScalar) -> Optional[bytes]:
          
          try:
              return base64.b64decode(raw, validate=True)
          except TypeError:
              return None
docs: Override superclass method.