Mercurial Hosting > luan
comparison src/org/eclipse/jetty/io/Buffer.java @ 1040:3e4949834f3e
remove Buffer.asArray()
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Thu, 03 Nov 2016 23:04:11 -0600 |
| parents | a7319f14ba1e |
| children | 35e3c864d7a7 |
comparison
equal
deleted
inserted
replaced
| 1039:a7319f14ba1e | 1040:3e4949834f3e |
|---|---|
| 50 * Get the underlying array, if one exists. | 50 * Get the underlying array, if one exists. |
| 51 * @return a <code>byte[]</code> backing this buffer or null if none exists. | 51 * @return a <code>byte[]</code> backing this buffer or null if none exists. |
| 52 */ | 52 */ |
| 53 byte[] array(); | 53 byte[] array(); |
| 54 | 54 |
| 55 /** | |
| 56 * | |
| 57 * @return a <code>byte[]</code> value of the bytes from the getIndex to the putIndex. | |
| 58 */ | |
| 59 byte[] asArray(); | |
| 60 | |
| 61 /** | 55 /** |
| 62 * Get the underlying buffer. If this buffer wraps a backing buffer. | 56 * Get the underlying buffer. If this buffer wraps a backing buffer. |
| 63 * @return The root backing buffer or this if there is no backing buffer; | 57 * @return The root backing buffer or this if there is no backing buffer; |
| 64 */ | 58 */ |
| 65 Buffer buffer(); | 59 Buffer buffer(); |
