humanReadableFormatter
01 Syntax
SMRUCC.Rsharp.Runtime.Internal.Invokes.humanReadableFormatter
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| size | 1 | convert byte number into human readable size string |
| timespanStr | 1 | cast timespan value to human readable string |
| splitParagraph | 1 | split a given text data into multiple lines |
03 Members
size(
Double())convert byte number into human readable size string
Parameters
| Name | Type | Description |
|---|---|---|
bytes | Double() | - |
timespanStr(
TimeSpan(), Boolean)cast timespan value to human readable string
Parameters
| Name | Type | Description |
|---|---|---|
spans | TimeSpan() | - |
splitParagraph(
String, Int32, String, Int32)split a given text data into multiple lines
Parameters
| Name | Type | Description |
|---|---|---|
text | String | - |
len | Int32 | - |