| 469 | inline void mark_as_const() { Alloced_length= 0;} |
| 470 | |
| 471 | inline bool uses_buffer_owned_by(const Binary_string *s) const |
| 472 | { |
| 473 | return (s->alloced && Ptr >= s->Ptr && Ptr < s->Ptr + s->Alloced_length); |
| 474 | } |
| 475 | |
| 476 | /* Swap two string objects. Efficient way to exchange data without memcpy. */ |
| 477 | void swap(Binary_string &s) |
no outgoing calls
no test coverage detected