type github.com/jackc/pgx/v5/pgtype.ByteaCodec
9 uses
github.com/jackc/pgx/v5/pgtype (current package)
bytea.go#L65: type ByteaCodec struct{}
bytea.go#L67: func (ByteaCodec) FormatSupported(format int16) bool {
bytea.go#L71: func (ByteaCodec) PreferredFormat() int16 {
bytea.go#L75: func (ByteaCodec) PlanEncode(m *Map, oid uint32, format int16, value any) EncodePlan {
bytea.go#L150: func (ByteaCodec) PlanScan(m *Map, oid uint32, format int16, target any) ScanPlan {
bytea.go#L239: func (c ByteaCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
bytea.go#L243: func (c ByteaCodec) DecodeValue(m *Map, oid uint32, format int16, src []byte) (any, error) {
pgtype.go#L1148: codec = ByteaCodec{}
pgtype_default.go#L55: defaultMap.RegisterType(&Type{Name: "bytea", OID: ByteaOID, Codec: ByteaCodec{}})