serializedSize property

  1. @override
int get serializedSize
override

Exact size for this serialized object.

Implementation

@override
int get serializedSize =>
    serializedHeaderSize +
    kexAlgorithms.length +
    serverHostKeyAlgorithms.length +
    encryptionAlgorithmsClientToServer.length +
    encryptionAlgorithmsServerToClient.length +
    macAlgorithmsClientToServer.length +
    macAlgorithmsServerToClient.length +
    compressionAlgorithmsClientToServer.length +
    compressionAlgorithmsServerToClient.length +
    languagesClientToServer.length +
    languagesServerToClient.length;