openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_GetMaxWriteSize()

int32_t HITLS_GetMaxWriteSize ( const HITLS_Ctx ctx,
uint32_t *  len 
)

Obtain the maximum writable (plaintext) length.

参数
ctx[OUT] TLS connection handle.
len[OUT] Maximum writable plaintext length (within 16 KB)
返回值
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.