Home | History | Annotate | Download | only in reflect

Lines Matching defs:Bytes

251 // Bytes returns v's underlying value.
252 // It panics if v's underlying value is not a slice of bytes.
253 func (v Value) Bytes() []byte {
256 panic("reflect.Value.Bytes of non-byte slice")
267 panic("reflect.Value.Bytes of non-rune slice")
1362 // It panics if v's underlying value is not a slice of bytes.
1789 // eltSize wide (in bytes).
2399 return makeString(v.flag&flagRO, string(v.Bytes()), t)
2499 // call calls fn with a copy of the n argument bytes pointed at by arg.
2500 // After fn returns, reflectcall copies n-retoffset result bytes
2501 // back into arg+retoffset before returning. If copying result bytes back,
2513 // dst and src point off bytes into the value and only copies size bytes.