@Override
        public byte[] allocate(int size) {
            if (size < preallocated.length) {
                return preallocated[size];
            }

            return new byte[size];
        }
Byte allocator that caches preallocated byte arrays for small sizes.
client-v2/src/main/java/com/clickhouse/client/api/data_formats/internal/BinaryStreamReader.java