#ifndef LIME_UTILS_BYTES_H #define LIME_UTILS_BYTES_H #include #include namespace lime { class Bytes { public: Bytes (); Bytes (int size); Bytes (value bytes); Bytes (const char* path); Bytes (const QuickVec data); ~Bytes (); void Clear (); unsigned char *Data (); const unsigned char *Data () const; int Length () const; void ReadFile (const char* path); void Resize (int size); void Set (value bytes); void Set (const QuickVec data); value Value (); unsigned char *_data; int _length; value _value; }; } #endif