comparison src/org/eclipse/jetty/io/JBuffer.java @ 1063:0157e92670f5

remove JBuffer.getIndex()
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 09 Nov 2016 02:08:33 -0700
parents 4a50422596b6
children a0abb16cf6e7
comparison
equal deleted inserted replaced
1062:4a50422596b6 1063:0157e92670f5
82 82
83 83
84 84
85 public ByteBuffer getByteBuffer() { 85 public ByteBuffer getByteBuffer() {
86 return bb; 86 return bb;
87 }
88
89 public int getIndex() {
90 return bb.position();
91 } 87 }
92 88
93 public void clear() { 89 public void clear() {
94 bb.position(0); 90 bb.position(0);
95 bb.limit(0); 91 bb.limit(0);