ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
video/ascii/frame_validator.h
Go to the documentation of this file.
1#ifndef FRAME_VALIDATOR_H
2#define FRAME_VALIDATOR_H
3
4#include <stddef.h>
5#include <stdint.h>
6#include <stdbool.h>
7
20bool frame_validate_integrity(const char *frame_data, size_t frame_size);
21
32size_t frame_get_valid_end(const char *frame_data, size_t frame_size);
33
34#endif // FRAME_VALIDATOR_H
bool frame_validate_integrity(const char *frame_data, size_t frame_size)
Validate ASCII frame integrity.
size_t frame_get_valid_end(const char *frame_data, size_t frame_size)
Get the actual valid frame end position.