item field, you can retrieve them via get().
The
contents field is always returned as bytes in Python or std::vector<uint8_t> in C++, regardless of whether it was originally stored as a string or bytes. All contents are encoded to bytes and encrypted before storage.