Home
last modified time | relevance | path

Searched refs:estimatedDstCapacity (Results 1 – 1 of 1) sorted by relevance

/external/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java426 int estimatedDstCapacity = (int) (length * encoder.maxBytesPerChar()); in createString() local
427 if (dst == null || dst.capacity() < estimatedDstCapacity) { in createString()
428 dst = ByteBuffer.allocate(Math.max(128, estimatedDstCapacity)); in createString()