Str
Algorand TypeScript / arc4 / Str
Defined in: arc4/encoded-types.ts:110
A utf8 encoded string prefixed with its length expressed as a 2 byte uint
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Str(
s?):Str
Defined in: arc4/encoded-types.ts:118
Create a new Str instance
Parameters
Section titled “Parameters”string
The native string to initialize this Str from
Returns
Section titled “Returns”Str
Overrides
Section titled “Overrides”Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get bytes():
bytes
Defined in: arc4/encoded-types.ts:102
Retrieve the encoded bytes for this type
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”native
Section titled “native”Get Signature
Section titled “Get Signature”get native():
string
Defined in: arc4/encoded-types.ts:125
Retrieve the decoded native string
Returns
Section titled “Returns”string