Constructors
constructor
- new UserPublicKey(buffer: Uint8Array<ArrayBufferLike>): UserPublicKey
Parameters
- buffer: Uint8Array<ArrayBufferLike>
Methods
hex
- hex(): string
Returns string
valueOf
- valueOf(): Buffer
Returns Buffer
verify
- verify(
data: Buffer | Uint8Array<ArrayBufferLike>,
signature: Buffer | Uint8Array<ArrayBufferLike>,
): boolean Parameters
- data: Buffer | Uint8Array<ArrayBufferLike>
- signature: Buffer | Uint8Array<ArrayBufferLike>
Returns boolean