parse

fun parse(input: String): SizeInBytes

Parses a size-in-bytes string. If no units are specified in the string, it is assumed to be in bytes. The returned value is in bytes.

Return

size in bytes

Parameters

input

the string to parse

Sources

jvm source
Link copied to clipboard