
| Current Path : /usr/include/gap/hpc/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : //usr/include/gap/hpc/serialize.h |
#ifndef GAP_SERIALIZE_H
#define GAP_SERIALIZE_H
#include "system.h"
typedef void (*SerializationFunction)(Obj obj);
typedef Obj (*DeserializationFunction)(UInt tnum);
typedef struct SerializerInterface {
void (*WriteTNum)(UInt tnum);
void (*WriteByte)(UChar tnum);
void (*WriteByteBlock)(Obj obj, UInt offset, UInt len);
void (*WriteImmediateObj)(Obj obj);
} SerializerInterface;
typedef struct DeserializerInterface {
UInt (*ReadTNum)(void);
UChar (*ReadByte)(void);
UInt (*ReadByteBlockLength)(void);
void (*ReadByteBlockData)(Obj obj, UInt offset, UInt len);
Obj (*ReadImmediateObj)(void);
} DeserializerInterface;
StructInitInfo * InitInfoSerialize ( void );
#endif /* GAP_SERIALIZE_H */