Class

BaseExtension

BaseExtension

Extends the VM state with functions for encoding and decoding hex and base64

Extends

Methods

# static decode16()

Decodes the given hex string into a utf8 string.

View Source operate/vm/extension/base.js, line 32

# static decode64()

Decodes the given base64 string into a utf8 string.

View Source operate/vm/extension/base.js, line 48

# static encode16()

Encodes the given string into a hex string.

View Source operate/vm/extension/base.js, line 24

# static encode64()

Encodes the given string into a base64 string.

View Source operate/vm/extension/base.js, line 40