BackendKeyMessage constructor
BackendKeyMessage(
- Uint8List bytes
Implementation
factory BackendKeyMessage(Uint8List bytes) {
final view = ByteData.view(bytes.buffer, bytes.offsetInBytes);
final processID = view.getUint32(0);
final secretKey = view.getUint32(4);
return BackendKeyMessage._(processID, secretKey);
}