SftpName.readFrom constructor
SftpName.readFrom(
- SSHMessageReader reader
Implementation
factory SftpName.readFrom(SSHMessageReader reader) {
final filename = reader.readUtf8();
final longname = reader.readUtf8();
final attr = SftpFileAttrs.readFrom(reader);
return SftpName(
filename: filename,
longname: longname,
attr: attr,
);
}