public class StringByteSizeCalculator extends Object
OutputStream to only count sizes when asked to write a String, eventually getting it's whole
Charset dependent byte size. This is essentially the same as the size obtained via String.getBytes(Charset) but
avoids the allocation of the entire byte array.| Constructor and Description |
|---|
StringByteSizeCalculator() |
Copyright © 2024 MuleSoft, Inc.. All rights reserved.