Source File
buffer.go
Belonging Package
google.golang.org/api/internal/gensupport
package gensupport
import (
)
func ( io.Reader, int) *MediaBuffer {
return &MediaBuffer{media: , chunk: make([]byte, 0, )}
}
func ( *MediaBuffer) () {
.off += int64(len(.chunk))
.chunk = .chunk[0:0]
}
type readerTyper struct {
io.Reader
googleapi.ContentTyper
}
func ( io.ReaderAt, int64) io.Reader {
:= io.NewSectionReader(, 0, )
if , := .(googleapi.ContentTyper); {
return readerTyper{, }
}
return
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |