| 133 | } |
| 134 | |
| 135 | ByteArray ByteArray::right(size_t s) const { |
| 136 | if (s > m_size) |
| 137 | s = 0; |
| 138 | else |
| 139 | s = m_size - s; |
| 140 | |
| 141 | return sub(s, m_size); |
| 142 | } |
| 143 | |
| 144 | void ByteArray::trimLeft(size_t s) { |
| 145 | if (s >= m_size) { |
no outgoing calls
no test coverage detected