public class CalculateHelper extends Object
| Constructor and Description |
|---|
CalculateHelper() |
| Modifier and Type | Method and Description |
|---|---|
static int |
calcStringSizeInBytes(String str)
计算字符串的大小(按照UTF-8编码)
|
public static int calcStringSizeInBytes(String str) throws IllegalStateException
str - IllegalStateExceptionCopyright © 2024. All Rights Reserved.