~~ Read access ~~
| 379 | |
| 380 | // ~~ Read access ~~ |
| 381 | inline TCharType at(size_t pos) const noexcept { |
| 382 | if (Y_LIKELY(pos < Len())) { |
| 383 | return (Ptr())[pos]; |
| 384 | } |
| 385 | return 0; |
| 386 | } |
| 387 | |
| 388 | inline TCharType operator[](size_t pos) const noexcept { |
| 389 | Y_ASSERT(pos < this->size()); |
no outgoing calls