diff options
-rw-r--r-- | api/next.txt | 3 | ||||
-rw-r--r-- | src/io/io.go | 10 |
2 files changed, 0 insertions, 13 deletions
diff --git a/api/next.txt b/api/next.txt index ae60f2d73a..5ae56c126a 100644 --- a/api/next.txt +++ b/api/next.txt @@ -167,9 +167,6 @@ pkg io, const SeekEnd = 2 pkg io, const SeekEnd ideal-int pkg io, const SeekStart = 0 pkg io, const SeekStart ideal-int -pkg io, type SizedReaderAt interface { ReadAt, Size } -pkg io, type SizedReaderAt interface, ReadAt([]uint8, int64) (int, error) -pkg io, type SizedReaderAt interface, Size() int64 pkg math/big, method (*Float) GobDecode([]uint8) error pkg math/big, method (*Float) GobEncode() ([]uint8, error) pkg net, method (*Dialer) DialContext(context.Context, string, string) (Conn, error) diff --git a/src/io/io.go b/src/io/io.go index 3d0a5a485e..80398b3997 100644 --- a/src/io/io.go +++ b/src/io/io.go @@ -274,16 +274,6 @@ type RuneScanner interface { UnreadRune() error } -// SizedReaderAt is the interface that groups the basic ReadAt method -// with a Size method that reports the total size of the underlying -// object. It represents a fixed-size data source that supports random -// access by multiple concurrent goroutines. -type SizedReaderAt interface { - ReaderAt - // Size reports the length of the data source in bytes. - Size() int64 -} - // stringWriter is the interface that wraps the WriteString method. type stringWriter interface { WriteString(s string) (n int, err error) |