Run decoding from a memory buffer, advancing *`pdata` past consumed bytes.
Synopsis
Declared in <openssl/decoder.h>
int
OSSL_DECODER_from_data(
OSSL_DECODER_CTX* ctx,
unsigned char const** pdata,
size_t* pdata_len);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
ctx |
Configured decoder context. |
pdata |
Address of a pointer to the input bytes; updated past what was decoded. |
pdata_len |
Address of the remaining length; updated with bytes left undecoded. |
Created with MrDocs