Searched defs:MediaBuffer (Results 1 – 1 of 1) sorted by relevance
15 type MediaBuffer struct { struct16 media io.Reader18 chunk []byte // The current chunk which is pending upload. The capacity is the chunk size.19 err error // Any error generated when populating chunk by reading media.22 off int6432 func (mb *MediaBuffer) Chunk() (chunk io.Reader, off int64, size int, err error) {41 func (mb *MediaBuffer) loadChunk() error {58 func (mb *MediaBuffer) Next() {