ByteViewSink returns a Sink that populates a ByteView.
(dst *ByteView)
| 104 | |
| 105 | // ByteViewSink returns a Sink that populates a ByteView. |
| 106 | func ByteViewSink(dst *ByteView) Sink { |
| 107 | if dst == nil { |
| 108 | panic("nil dst") |
| 109 | } |
| 110 | return &byteViewSink{dst: dst} |
| 111 | } |
| 112 | |
| 113 | type byteViewSink struct { |
| 114 | dst *ByteView |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…