MCPcopy Create free account
hub / github.com/alecthomas/units / ParseStrictBytes

Function ParseStrictBytes

bytes.go:203–209  ·  view source on GitHub ↗

ParseStrictBytes supports both iB and B suffixes for base 2 and metric, respectively. That is, KiB represents 1024 and kB, KB represent 1000.

(s string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestParseStrictBytesFunction · 0.85

Calls 1

ParseUnitFunction · 0.85

Tested by 1

TestParseStrictBytesFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…