| 89 | __forceinline operator const char*() const { return Data(); } |
| 90 | int GetLength() const { return _ref ? strlen(_ref->Data()) : 0; } |
| 91 | int GetRefCount() const { return _ref->RefCounter(); } |
| 92 | char operator[](int i) const { return Data()[i]; } |
| 93 | |
| 94 | // Copy-on-write: if the buffer is shared, split off a private copy. |
no test coverage detected