FromBytes static method

ByteSize FromBytes(
  1. num value
)

Returns a ByteSize object initialized by size in Bytes.

var size = ByteSize.FromBytes(1024);

Implementation

static ByteSize FromBytes(num value) =>
    ByteSize(value);