Mercurial Hosting > luan
comparison src/org/eclipse/jetty/io/BufferUtil.java @ 1019:f126d30e04a4
start replacing BufferCache with StringCache
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 31 Oct 2016 03:33:42 -0600 |
parents | 4dc1e1a18661 |
children | 6be43ef1eb96 |
comparison
equal
deleted
inserted
replaced
1018:4dc1e1a18661 | 1019:f126d30e04a4 |
---|---|
235 } | 235 } |
236 } | 236 } |
237 | 237 |
238 public static Buffer toBuffer(long value) | 238 public static Buffer toBuffer(long value) |
239 { | 239 { |
240 ByteArrayBuffer buf=new ByteArrayBuffer(32); | 240 ByteArrayBuffer buf = new ByteArrayBuffer(32); |
241 putDecLong(buf, value); | 241 putDecLong(buf, value); |
242 return buf; | 242 return buf; |
243 } | 243 } |
244 | 244 |
245 private final static int[] hexDivisors= | 245 private final static int[] hexDivisors= |