toBytes method
Implementation
BuBytes toBytes() => BuBytes([
keyData.depth.depth,
...keyData.fingerPrint.toBytes(),
...keyData.index.toBytes(Endian.little),
...keyData.chainCode.toBytes(),
...fvk.toBytes(),
...keyData.dk.toBytes(),
]);
BuBytes toBytes() => BuBytes([
keyData.depth.depth,
...keyData.fingerPrint.toBytes(),
...keyData.index.toBytes(Endian.little),
...keyData.chainCode.toBytes(),
...fvk.toBytes(),
...keyData.dk.toBytes(),
]);