15 Document(const QString &str, bool writemode);
16 Document(const Document &doc, bool writemode);
19 quint64 length() const;
21 void get(quint64 pos, uint len, uchar *buf);
22 void insert(quint64 pos, const uchar *buf, uint len);
25 void copy(uint type, quint64 pos, quint64 len, uchar *buf);
31 std::vector<uchar> buffer_;