Skip to main content
The ByteSize type is used when a configuration field requires a size in bytes. Sizes are specified by combining a floating point number with a size unit. For example, 10 KiB can be specified as an inline table:
Or as a string:
This will result in a size of 10,240 bytes.

Available size units

The size will be rounded to the nearest byte.