SftpReader.readString
const(ubyte)[] readString(size_t maxLength = 32768) @safeReads a length-prefixed string as a slice (no copy).
Parameters
maxLength | Limit enforced on the declared length. |
Returns
The payload bytes.
const(ubyte)[] readString(size_t maxLength = 32768) @safeReads a length-prefixed string as a slice (no copy).
maxLength | Limit enforced on the declared length. |