MCPcopy Create free account
hub / github.com/segmentio/encoding / encodeUnsupportedTypeError

Method encodeUnsupportedTypeError

json/encode.go:823–825  ·  view source on GitHub ↗
(b []byte, p unsafe.Pointer, t reflect.Type)

Source from the content-addressed store, hash-verified

821}
822
823func (e encoder) encodeUnsupportedTypeError(b []byte, p unsafe.Pointer, t reflect.Type) ([]byte, error) {
824 return b, &UnsupportedTypeError{Type: t}
825}
826
827func (e encoder) encodeRawMessage(b []byte, p unsafe.Pointer) ([]byte, error) {
828 v := *(*RawMessage)(p)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected