MCPcopy Create free account
hub / github.com/google/gapid / unbox

Function unbox

core/java/jdwp/coder.go:28–33  ·  view source on GitHub ↗
(v reflect.Value)

Source from the content-addressed store, hash-verified

26const debug = false
27
28func unbox(v reflect.Value) reflect.Value {
29 if v.Kind() == reflect.Interface {
30 return v.Elem()
31 }
32 return v
33}
34
35// encode writes the value v to w, using the JDWP encoding scheme.
36func (c *Connection) encode(w binary.Writer, v reflect.Value) error {

Callers 1

encodeMethod · 0.85

Calls 1

KindMethod · 0.65

Tested by

no test coverage detected