Go to the documentation of this file.
31 #ifndef BYTE_MANAGER_H_
32 #define BYTE_MANAGER_H_
OPJ_OFF_T get_filesize(int fd)
Get file size.
Definition: byte_manager.c:167
Byte4_t big4(Byte_t *buf)
convert 4-byte big endian Byte codes to number
Definition: byte_manager.c:147
#define FCGI_stderr
Definition: byte_manager.c:47
Byte4_t big4(Byte_t *buf)
convert 4-byte big endian Byte codes to number
Definition: byte_manager.c:147
uint8_t Byte_t
Definition: byte_manager.h:37
Byte4_t fetch_4bytebigendian(int fd, OPJ_OFF_T offset)
fetch a 4-byte big endian Byte codes in file stream
Definition: byte_manager.c:109
int64_t OPJ_OFF_T
Definition: openjpeg.h:136
void modify_4Bytecode(Byte4_t code, Byte_t *stream)
modify 4Byte code in a codestream
Definition: byte_manager.c:159
Byte2_t big2(Byte_t *buf)
convert 2-byte big endian Byte codes to number
Definition: byte_manager.c:142
Byte8_t big8(Byte_t *buf)
convert 8-byte big endian Byte codes to number
Definition: byte_manager.c:153
void modify_4Bytecode(Byte4_t code, Byte_t *stream)
modify 4Byte code in a codestream
Definition: byte_manager.c:159
size_t OPJ_SIZE_T
Definition: openjpeg.h:139
Byte_t fetch_1byte(int fd, OPJ_OFF_T offset)
fetch a 1-byte Byte codes in file stream
Definition: byte_manager.c:75
Byte2_t big2(Byte_t *buf)
convert 2-byte big endian Byte codes to number
Definition: byte_manager.c:142
Byte4_t fetch_4bytebigendian(int fd, OPJ_OFF_T offset)
fetch a 4-byte big endian Byte codes in file stream
Definition: byte_manager.c:109
Byte_t * fetch_bytes(int fd, OPJ_OFF_T offset, OPJ_SIZE_T size)
fetch bytes of data in file stream
Definition: byte_manager.c:52
Byte2_t fetch_2bytebigendian(int fd, OPJ_OFF_T offset)
fetch a 2-byte big endian Byte codes in file stream
Definition: byte_manager.c:93
OPJ_OFF_T get_filesize(int fd)
Get file size.
Definition: byte_manager.c:167
uint32_t Byte4_t
Definition: byte_manager.h:39
Byte2_t fetch_2bytebigendian(int fd, OPJ_OFF_T offset)
fetch a 2-byte big endian Byte codes in file stream
Definition: byte_manager.c:93
Byte8_t fetch_8bytebigendian(int fd, OPJ_OFF_T offset)
fetch a 8-byte big endian Byte codes in file stream
Definition: byte_manager.c:125
Byte_t fetch_1byte(int fd, OPJ_OFF_T offset)
fetch a 1-byte Byte codes in file stream
Definition: byte_manager.c:75
Byte8_t big8(Byte_t *buf)
convert 8-byte big endian Byte codes to number
Definition: byte_manager.c:153
Byte_t * fetch_bytes(int fd, OPJ_OFF_T offset, OPJ_SIZE_T size)
fetch bytes of data in file stream
Definition: byte_manager.c:52
uint16_t Byte2_t
Definition: byte_manager.h:38
#define FCGI_stdout
Definition: byte_manager.c:46
Byte8_t fetch_8bytebigendian(int fd, OPJ_OFF_T offset)
fetch a 8-byte big endian Byte codes in file stream
Definition: byte_manager.c:125
uint64_t Byte8_t
Definition: byte_manager.h:40