144145146147148149150151152153154
Binary bin = get(size); String str = str8cache.get(bin); if (str == null) { str = decode(bin.array(), bin.offset(), bin.size(), "UTF-8"); if(bin.hasExcessCapacity()) { str8cache.put(bin.copy(), str); } else
143144145146147148149150151152153
short size = readUint8(); Binary bin = get(size); String str = str8cache.get(bin); if (str == null) { str = decode(bin.array(), bin.offset(), bin.size(), "UTF-8"); str8cache.put(bin, str); } return str; }