comparison src/org/eclipse/jetty/io/Buffer.java @ 1043:ae1c92957739

remove Buffer.mark(int)
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 04 Nov 2016 01:10:12 -0600
parents a62193321d6a
children dd71a59fcf72
comparison
equal deleted inserted replaced
1042:a62193321d6a 1043:ae1c92957739
135 * Set the mark to the current getIndex. 135 * Set the mark to the current getIndex.
136 */ 136 */
137 void mark(); 137 void mark();
138 138
139 /** 139 /**
140 * Set the mark relative to the current getIndex
141 * @param offset an <code>int</code> value to add to the current getIndex to obtain the mark value.
142 */
143 void mark(int offset);
144
145 /**
146 * The current index of the mark. 140 * The current index of the mark.
147 * @return an <code>int</code> index in the buffer or -1 if the mark is not set. 141 * @return an <code>int</code> index in the buffer or -1 if the mark is not set.
148 */ 142 */
149 int markIndex(); 143 int markIndex();
150 144