API reference@evolu/commonBytes › ByteSizeLiteralMiB

const ByteSizeLiteralMiB: union(
  templateLiteral(Digit1To9, "MiB"),
  templateLiteral(Digit1To9, Digit, "MiB"),
  templateLiteral(Digit1To9, Digit, Digit, "MiB"),
  templateLiteral("10", Digit0To1, Digit, "MiB"),
  templateLiteral("102", Digit0To3, "MiB"),
  templateLiteral(Digit1To9, ".5MiB"),
  templateLiteral(Digit1To9, Digit, ".5MiB"),
  templateLiteral(Digit1To9, Digit, Digit, ".5MiB"),
  templateLiteral("10", Digit0To1, Digit, ".5MiB"),
  templateLiteral("102", Digit0To3, ".5MiB"),
);

Defined in: packages/common/src/Bytes.ts:1564

MiB: "1MiB" to "1023MiB" or "1.5MiB" to "1023.5MiB". See ByteSizeLiteral.