fromBytes static method

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

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

Implementation

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