MCPcopy
hub / github.com/jackc/pgx / DecodeValue

Method DecodeValue

pgtype/bits.go:149–160  ·  view source on GitHub ↗
(m *Map, oid uint32, format int16, src []byte)

Source from the content-addressed store, hash-verified

147}
148
149func (c BitsCodec) DecodeValue(m *Map, oid uint32, format int16, src []byte) (any, error) {
150 if src == nil {
151 return nil, nil
152 }
153
154 var box Bits
155 err := codecScan(c, m, oid, format, src, &box)
156 if err != nil {
157 return nil, err
158 }
159 return box, nil
160}
161
162type scanPlanBinaryBitsToBitsScanner struct{}
163

Callers

nothing calls this directly

Calls 1

codecScanFunction · 0.85

Tested by

no test coverage detected