aboutsummaryrefslogblamecommitdiff
path: root/src/Serialize.h
blob: 4ecb46de18425f7971c6438383021c89d42d4f13 (plain) (tree)
1
2
3
4
5
6




                                    
                                         






                                                                  
#ifndef SERIALIZE_H
#define SERIALIZE_H

/* these all read big-endian data */

int ReadBool(int fd, int count, bool *b);
int ReadShort(int fd, int count, short *s);
int ReadInt(int fd, int count, int *s);
int ReadFloat(int fd, int count, float *f);
int ReadXYZ(int fd, int count, XYZ *xyz);
int ReadTexturedTriangle(int fd, int count, TexturedTriangle *tt);

#endif