Built-in Base64 and Hex encode / decode

ArrayBuffer.from(input: string, type: "base64" | "hex"): ArrayBuffer
ArrayBuffer.toString(input: ArrayBuffer, type: "base64" | "hex"): string

but i need re-define ArrayBuffer.prototype.toString, the is break the web.

it is type checking method, buffer.toString() === "[object ArrayBuffer]"