Wraps a bytearray, i.e. Uint8Array. Used to give distinct types to objects as most of them are bytearrays because that is what the WASM bindings accept and return.
Return the wrapped bytearray
Return the hex representation of the wrapped bytearray
Return the length of the wrapped bytearray
Check if public key is valid. Before verifying witness or using for proof verification, make sure the public key is valid.
true if key is valid, false otherwise
Static
Wraps a bytearray, i.e. Uint8Array. Used to give distinct types to objects as most of them are bytearrays because that is what the WASM bindings accept and return.