NewByteInput creates raw bytes wrapper
(buf []byte)
| 35 | |
| 36 | // NewByteInput creates raw bytes wrapper |
| 37 | func NewByteInput(buf []byte) ByteInput { |
| 38 | return &ByteBuffer{ |
| 39 | buf: buf, |
| 40 | off: 0, |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | // ByteBuffer raw bytes wrapper |
| 45 | type ByteBuffer struct { |
no outgoing calls
searching dependent graphs…