MCPcopy
hub / github.com/pquerna/ffjson / FormatBits

Function FormatBits

fflib/v1/iota.go:73–75  ·  view source on GitHub ↗

DEPRECIATED: `scratch` is no longer used, FormatBits2 is available. FormatBits computes the string representation of u in the given base. If neg is set, u is treated as negative int64 value. If append_ is set, the string is appended to dst and the resulting byte slice is returned as the first resu

(scratch *FormatBitsScratch, dst FormatBitsWriter, u uint64, base int, neg bool)

Source from the content-addressed store, hash-verified

71// as the second result value.
72//
73func FormatBits(scratch *FormatBitsScratch, dst FormatBitsWriter, u uint64, base int, neg bool) {
74 FormatBits2(dst, u, base, neg)
75}
76
77// FormatBits2 computes the string representation of u in the given base.
78// If neg is set, u is treated as negative int64 value. If append_ is

Callers

nothing calls this directly

Calls 1

FormatBits2Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…