Searched refs:estimatedDstCapacity (Results 1 – 1 of 1) sorted by relevance
426 int estimatedDstCapacity = (int) (length * encoder.maxBytesPerChar()); in createString() local427 if (dst == null || dst.capacity() < estimatedDstCapacity) { in createString()428 dst = ByteBuffer.allocate(Math.max(128, estimatedDstCapacity)); in createString()