Discover Packages
go.chromium.org/infra
build
siso
reapi
bytestreamio
package
Version:
v0.0.0-...-6e5b399
Opens a new window with list of versions in this module.
Published: Feb 22, 2025
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package bytestreamio provides io interfaces on bytestream service.
Exists checks for the existence of a resource by its resourceName.
Reader is a reader on bytestream and implements io.Reader.
Open opens a reader on the bytestream for the resourceName.
ctx will be used until the reader is closed.
Read reads data from bytestream.
The maximum data chunk size would be determined by server side.
Size reports read size by Read.
Writer is a writer on bytestream, and implemnets io.Writer.
Create creates a writer on the bytestream for resourceName.
ctx will be used until the rriter is closed.
Write writes data to bytestream.
The maximum data chunk size would be determined by server side,
so don't pass larger chunk than maximum data chunk size.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.