decodePacket (method)
Decodes a hex-encoded SSH packet.
Syntax
- (NSData*)decodePacket:(NSString*)encodedPacket;
public func decodePacket(_ encodedPacket: String) throws -> Data
Remarks
This method is used to decode an SSH packet created by EncodePacket.
Note: This method is only applicable for reading and creating SSH packets for use within the SSHCustomAuth event.