Str
@algorandfoundation/algorand-typescript
@algorandfoundation/algorand-typescript / arc4 / Str
Class: Str
Defined in: packages/algo-ts/src/arc4/encoded-types.ts:105
A utf8 encoded string prefixed with its length expressed as a 2 byte uint
Extends
Constructors
new Str()
new Str(
s
?):Str
Defined in: packages/algo-ts/src/arc4/encoded-types.ts:113
Create a new Str instance
Parameters
s?
string
The native string to initialize this Str from
Returns
Overrides
Accessors
bytes
Get Signature
get bytes():
bytes
Defined in: packages/algo-ts/src/arc4/encoded-types.ts:97
Retrieve the encoded bytes for this type
Returns
Inherited from
native
Get Signature
get native():
string
Defined in: packages/algo-ts/src/arc4/encoded-types.ts:120
Retrieve the decoded native string
Returns
string