comparison src/org/eclipse/jetty/io/Buffer.java @ 1038:b71ad168fe34

rename Buffer.length() to remaining()
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 03 Nov 2016 22:16:11 -0600
parents 3c4c7cc7904f
children a7319f14ba1e
comparison
equal deleted inserted replaced
1037:3c4c7cc7904f 1038:b71ad168fe34
141 141
142 /** 142 /**
143 * The number of bytes from the getIndex to the putIndex 143 * The number of bytes from the getIndex to the putIndex
144 * @return an <code>int</code> == putIndex()-getIndex() 144 * @return an <code>int</code> == putIndex()-getIndex()
145 */ 145 */
146 int length(); 146 int remaining();
147 147
148 /** 148 /**
149 * Set the mark to the current getIndex. 149 * Set the mark to the current getIndex.
150 */ 150 */
151 void mark(); 151 void mark();