Skip to content

Str

Defined in: arc4/encoded-types.ts:110

A utf8 encoded string prefixed with its length expressed as a 2 byte uint

new Str(s?): Str

Defined in: arc4/encoded-types.ts:118

Create a new Str instance

string

The native string to initialize this Str from

Str

ARC4Encoded.constructor

get bytes(): bytes

Defined in: arc4/encoded-types.ts:102

Retrieve the encoded bytes for this type

bytes

ARC4Encoded.bytes


get native(): string

Defined in: arc4/encoded-types.ts:125

Retrieve the decoded native string

string