How do decode an encoded transaction note using the Javascript SDK? For example, to send a note to the chain, the note is encoded as
algosdk.encodeObj(“monthly payment”);
Is there a complementary function to decode this encoded text using the SDKs?