API reference › @evolu/common › Bytes › ByteSizeLiteralGiB

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

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

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