deserialize method

  1. @override
void deserialize(
  1. SerializableInput input
)
override

Interface for intput serialization.

Implementation

@override
void deserialize(SerializableInput input) {
  cookie = input.getBytes(16);
  kexAlgorithms = deserializeString(input);
  serverHostKeyAlgorithms = deserializeString(input);
  encryptionAlgorithmsClientToServer = deserializeString(input);
  encryptionAlgorithmsServerToClient = deserializeString(input);
  macAlgorithmsClientToServer = deserializeString(input);
  macAlgorithmsServerToClient = deserializeString(input);
  compressionAlgorithmsClientToServer = deserializeString(input);
  compressionAlgorithmsServerToClient = deserializeString(input);
  languagesClientToServer = deserializeString(input);
  languagesServerToClient = deserializeString(input);
  firstKexPacketFollows = input.getBool();
}