package syncio
Import Path
github.com/gotd/td/syncio (on go.dev)
Dependency Relation
imports 3 packages, and imported by one package
Involved Source Files
Package syncio contains synchronized wrappers for interfaces from io package.
reader.go
writer_at.go
Package-Level Type Names (total 3, all are exported)
BufWriterAt is synchronized buffer which implements io.WriterAt.
buf []byte
mux sync.RWMutex
Bytes returns copy of data from buffer.
Len returns buffer available data size.
ReadAt implements io.ReaderAt.
WriteAt implements io.WriterAt.
*BufWriterAt : io.ReaderAt
*BufWriterAt : io.WriterAt
*BufWriterAt : github.com/klauspost/compress/zstd.byter
Package-Level Functions (total 2, both are exported)
NewReader creates new Reader.
NewWriterAt creates new WriterAt.
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |