Get the number of segments that have added to this buffer list. @return the segment count
()
| 77 | * @return the segment count |
| 78 | */ |
| 79 | public int segmentCount() { |
| 80 | return segments.size(); |
| 81 | } |
| 82 | |
| 83 | /** |
| 84 | * Get the accumulated bytes as a single byte array (may be a zero-byte array if empty). |
no test coverage detected