Returns the char array which this buffer is based on, if there is one. @return the char array which this buffer is based on. @exception ReadOnlyBufferException if this buffer is based on an array, but it is read-only. @exception UnsupportedOperationException if this bu
()
| 165 | * if this buffer is not based on an array. |
| 166 | */ |
| 167 | public final char[] array() { |
| 168 | return protectedArray(); |
| 169 | } |
| 170 | |
| 171 | /** |
| 172 | * Returns the offset of the char array which this buffer is based on, if |