{
Slice value = Slices.utf8Slice(formatApproximateResult(count, countError(samples, count), confidence, true));
Type finalType = getFinalType();
BlockBuilder blockBuilder = finalType.createBlockBuilder(new BlockBuilderStatus());
finalType.writeSlice(blockBuilder, value, 0, value.length());
return blockBuilder.build();
}
}
public static Slice createIntermediate(long count, long samples)