Returns the current contents of the buffer. Data is only valid to #getLength(). @return contents of the buffer
()
| 58 | * @return contents of the buffer |
| 59 | */ |
| 60 | public byte[] getData() { |
| 61 | return buf; |
| 62 | } |
| 63 | |
| 64 | /** |
| 65 | * Returns the length of the valid data currently in the buffer |