]> Dogcows Code - chaz/yoink/blobdiff - src/moof/packet.hh
pch support
[chaz/yoink] / src / moof / packet.hh
index 03c519fc0cb41571283bb4d1af623326be8a05ec..c23891541da08096b19d15550a4722a9fc86c356 100644 (file)
 #ifndef _MOOF_PACKET_HH_
 #define _MOOF_PACKET_HH_
 
-/**
- * \file packet.hh
- * Classes for building and interpreting datagram packets.
- */
-
 #include <cstring>
 #include <stdexcept>
+#include <stdint.h>
 #include <string>
 #include <vector>
 
-
 #ifndef PAGE_SIZE
 #define PAGE_SIZE 4096
 #endif
 
 
+/**
+ * \file packet.hh
+ * Classes for building and interpreting datagram packets.
+ */
+
 namespace moof {
        
 
@@ -84,7 +84,7 @@ public:
         * Write some bytes to the packet.
         * \param bytes The bytes.
         * \param size The number of bytes.
-        * return The number of bytes actually written.
+        * \return The number of bytes actually written.
         */
        size_t write(const void* bytes, size_t size);
 
@@ -140,7 +140,7 @@ public:
        /**
         * Get a pointer to an internal structure holding the serialized bytes
         * of the packet.
-        * return The pointer.
+        * \return The pointer.
         */
        const char* bytes() const
        {
This page took 0.01857 seconds and 4 git commands to generate.