fromBuffer
@opcat-labs/scrypt-ts-opcat v1.0.4
@opcat-labs/scrypt-ts-opcat / PrivateKey / fromBuffer
Function: fromBuffer()
fromBuffer(
buf,network):PrivateKey
Defined in: node_modules/@opcat-labs/opcat/types/privatekey.d.cts:122
Instantiate a PrivateKey from a Buffer with the DER or WIF representation
Parameters
buf
Buffer
network
Network