FromBits method

ByteSize FromBits (
  1. int value
)

Returns a ByteSize object initialized by size in Bits.

var size = ByteSize.FromBits(10000);

Implementation

static ByteSize FromBits(int value) =>
    ByteSize(value / _BitsInByte);