2023-11-23 19:29:38 +00:00
|
|
|
#ifndef APFL_ENCODE_H
|
|
|
|
|
#define APFL_ENCODE_H
|
2023-03-05 16:02:42 +00:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
|
|
#include "apfl.h"
|
|
|
|
|
|
|
|
|
|
bool apfl_encode_u64(struct apfl_io_writer, uint_least64_t );
|
|
|
|
|
bool apfl_decode_u64(struct apfl_io_reader, uint_least64_t *);
|
|
|
|
|
|
|
|
|
|
bool apfl_encode_double(struct apfl_io_writer, double);
|
|
|
|
|
bool apfl_decode_double(struct apfl_io_reader, double *);
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|