API reference@evolu/commonBytes › ByteSizeLiteralKiB

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

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

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