Searched refs:MediaBuffer (Results 1 – 4 of 4) sorted by relevance
15 type MediaBuffer struct { struct25 func NewMediaBuffer(media io.Reader, chunkSize int) *MediaBuffer {26 return &MediaBuffer{media: media, chunk: make([]byte, 0, chunkSize)}32 func (mb *MediaBuffer) Chunk() (chunk io.Reader, off int64, size int, err error) { argument41 func (mb *MediaBuffer) loadChunk() error { argument58 func (mb *MediaBuffer) Next() { argument
34 Media *MediaBuffer
183 func PrepareUpload(media io.Reader, chunkSize int) (io.Reader, *MediaBuffer) {
8484 mediaBuffer_ *gensupport.MediaBuffer