Obtain the number of bytes of application data to be read from the current record from the HiTLS object.
- 注意
- When the HiTLS works in data packet transmission (DTLS), the HITLS_Read may copy part of the application packet because the input buffer is not large enough. This function is used to obtain the remaining size of the application packet. This is useful for transport over DTLS.
- 参数
-
ctx | [IN] TLS connection handle |
- 返回值
-
Number | of bytes of application data that can be read. |