예제 #1
0
func (m *mscfbReader) SetSource(b *siegreader.Buffers) (*siegreader.Buffer, error) {
	return b.Get(m.entry)
}
예제 #2
0
func (tr *testReader) SetSource(b *siegreader.Buffers) (*siegreader.Buffer, error) {
	return b.Get(bytes.NewReader(tr.nodes[tr.idx].stream))
}