forked from TeamTofuShop/segatools
board/sg-frame.c: Add "sg" framing support
This commit is contained in:
15
board/sg-frame.h
Normal file
15
board/sg-frame.h
Normal file
@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "hook/iobuf.h"
|
||||
|
||||
HRESULT sg_frame_decode(
|
||||
struct iobuf *dest,
|
||||
const uint8_t *bytes,
|
||||
size_t nbytes);
|
||||
|
||||
HRESULT sg_frame_encode(struct iobuf *dest, const void *ptr, size_t nbytes);
|
Reference in New Issue
Block a user