Run decoding from a memory buffer, advancing *pdata past consumed bytes.
Declared in <openssl/decoder.h>
int
OSSL_DECODER_from_data(
OSSL_DECODER_CTX* ctx,
unsigned char const** pdata,
size_t* pdata_len);
1 on success, or 0 on failure.
| 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. |