fromBytes static method

Bip32PrivateKey fromBytes(
  1. List<int> keyBytes,
  2. Bip32KeyData keyData,
  3. Bip32KeyNetVersions keyNetVer,
  4. EllipticCurveTypes curveType,
)

Creates a Bip32PrivateKey from a byte representation, key data, key network versions, and curve type.

Implementation

static Bip32PrivateKey fromBytes(
  List<int> keyBytes,
  Bip32KeyData keyData,
  Bip32KeyNetVersions keyNetVer,
  EllipticCurveTypes curveType,
) {
  return Bip32PrivateKey(
      IPrivateKey.fromBytes(keyBytes, curveType), keyData, keyNetVer);
}