TlsStream.read

TlsIOResult read(ubyte[] buffer) @trusted nothrow

Read decrypted data from the TLS stream.

This is a non-blocking operation.

Parameters

bufferBuffer to read data into.

Returns

Result indicating success with bytes read, or error/would-block status.