It is a bit frustrating to have Principal.toBlob() but not Principal.fromBlob.

public let toBlob : (p : Principal) -> Blob = Prim.blobOfPrincipal;

Any strategies to use to marshal this in the short term, and can we get it added to base in the long term?


I concur, would like the above too.

1 Like

FYI…I’m going to and from Text in the mean time, but I would imagine that is wasting a good number of bytes.