MCPcopy Create free account
hub / github.com/cel-expr/cel-go / Binary

Method Binary

ext/formatting.go:760–760  ·  view source on GitHub ↗

Binary takes a ref.Val and a string representing the current locale identifier and returns the Val formatted as a binary integer, or an error if one occurred.

(ref.Val, string)

Source from the content-addressed store, hash-verified

758 // Binary takes a ref.Val and a string representing the current locale identifier
759 // and returns the Val formatted as a binary integer, or an error if one occurred.
760 Binary(ref.Val, string) (string, error)
761
762 // Hex takes a boolean that, if true, indicates the hex string output by the returned
763 // closure should use uppercase letters for A-F.

Callers 1

Implementers 4

stringFormatterV2ext/formatting_v2.go
stringFormatCheckerV2ext/formatting_v2.go
stringFormatterext/formatting.go
stringFormatCheckerext/formatting.go

Calls

no outgoing calls

Tested by 1