comparison src/org/eclipse/jetty/io/Buffer.java @ 1046:a8c92b0a08ed

add JBuffer
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 07 Nov 2016 22:39:39 -0700
parents dd71a59fcf72
children
comparison
equal deleted inserted replaced
1045:48506d03e230 1046:a8c92b0a08ed
254 */ 254 */
255 int readFrom(InputStream in, int max) throws IOException; 255 int readFrom(InputStream in, int max) throws IOException;
256 256
257 257
258 String toString(String charset); 258 String toString(String charset);
259
260 String toString(Charset charset);
261 259
262 260
263 // like ByteBuffer 261 // like ByteBuffer
264 Buffer duplicate(); 262 Buffer duplicate();
263
264 public byte[] asArray();
265 } 265 }