FromKiloBytes static method

ByteSize FromKiloBytes(
  1. num value
)

Returns a ByteSize object initialized by size in KiloBytes.

var size = ByteSize.FromKiloBytes(10);

Implementation

static ByteSize FromKiloBytes(num value) =>
    ByteSize(value * _BytesInKiloByte);