MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / EncodeStringDescending

Function EncodeStringDescending

pkg/util/encoding/encoding.go:985–988  ·  view source on GitHub ↗

EncodeStringDescending is the descending version of EncodeStringAscending.

(b []byte, s string)

Source from the content-addressed store, hash-verified

983
984// EncodeStringDescending is the descending version of EncodeStringAscending.
985func EncodeStringDescending(b []byte, s string) []byte {
986 arg := UnsafeConvertStringToBytes(s)
987 return EncodeBytesDescending(b, arg)
988}
989
990// UnsafeConvertBytesToString performs an unsafe conversion from a []byte to a
991// string. The returned string will share the underlying memory with the

Callers 1

EncodeForwardIndexMethod · 0.92

Calls 2

EncodeBytesDescendingFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…