MCPcopy Index your code
hub / github.com/cloudspannerecosystem/spanner-cli / nullBytesToString

Function nullBytesToString

decoder.go:287–293  ·  view source on GitHub ↗
(v []byte)

Source from the content-addressed store, hash-verified

285}
286
287func nullBytesToString(v []byte) string {
288 if v != nil {
289 return base64.StdEncoding.EncodeToString(v)
290 } else {
291 return "NULL"
292 }
293}
294
295func nullFloat32ToString(v spanner.NullFloat32) string {
296 if v.Valid {

Callers 1

DecodeColumnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected