aboutsummaryrefslogtreecommitdiff
path: root/src/fs/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/buffer.h')
-rw-r--r--src/fs/buffer.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/fs/buffer.h b/src/fs/buffer.h
deleted file mode 100644
index d727d84..0000000
--- a/src/fs/buffer.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#include <string.h>
-
-namespace jin
-{
-namespace fs
-{
-
- /**
- * A file data buffer.
- */
- class Buffer
- {
- public:
-
- inline Buffer(): data(0), size(0)
- {
- }
-
- inline ~Buffer()
- {
- size = 0;
- delete[] data;
- }
-
- inline Buffer(void* d, int size)
- {
- data = new char(size);
- memcpy(data, d, size);
- }
-
- public:
-
- // data position in memory
- void* data;
-
- // data buffer size
- unsigned int size;
-
- };
-
-}
-} \ No newline at end of file