type io.Writer
127 uses
io (current package)
io.go#L99: type Writer interface {
io.go#L133: Writer
io.go#L144: Writer
io.go#L151: Writer
io.go#L171: Writer
io.go#L178: Writer
io.go#L201: WriteTo(w Writer) (n int64, err error)
io.go#L314: func WriteString(w Writer, s string) (n int, err error) {
io.go#L363: func CopyN(dst Writer, src Reader, n int64) (written int64, err error) {
io.go#L387: func Copy(dst Writer, src Reader) (written int64, err error) {
io.go#L398: func CopyBuffer(dst Writer, src Reader, buf []byte) (written int64, err error) {
io.go#L407: func copyBuffer(dst Writer, src Reader, buf []byte) (written int64, err error) {
io.go#L618: func TeeReader(r Reader, w Writer) Reader {
io.go#L624: w Writer
io.go#L639: var Discard Writer = discard{}
io.go#L701: func (c nopCloserWriterTo) WriteTo(w Writer) (n int64, err error) {
multi.go#L44: func (mr *multiReader) WriteTo(w Writer) (sum int64, err error) {
multi.go#L48: func (mr *multiReader) writeToWithBuffer(w Writer, buf []byte) (sum int64, err error) {
multi.go#L80: writers []Writer
multi.go#L127: func MultiWriter(writers ...Writer) Writer {
multi.go#L128: allWriters := make([]Writer, 0, len(writers))
bufio
bufio.go#L514: func (b *Reader) WriteTo(w io.Writer) (n int64, err error) {
bufio.go#L559: func (b *Reader) writeBuf(w io.Writer) (int64, error) {
bufio.go#L580: wr io.Writer
bufio.go#L586: func NewWriterSize(w io.Writer, size int) *Writer {
bufio.go#L604: func NewWriter(w io.Writer) *Writer {
bufio.go#L616: func (b *Writer) Reset(w io.Writer) {
bytes
buffer.go#L258: func (b *Buffer) WriteTo(w io.Writer) (n int64, err error) {
reader.go#L137: func (r *Reader) WriteTo(w io.Writer) (n int64, err error) {
compress/flate
deflate.go#L569: func (d *compressor) init(w io.Writer, level int) (err error) {
deflate.go#L602: func (d *compressor) reset(w io.Writer) {
deflate.go#L666: func NewWriter(w io.Writer, level int) (*Writer, error) {
deflate.go#L680: func NewWriterDict(w io.Writer, level int, dict []byte) (*Writer, error) {
deflate.go#L692: w io.Writer
deflate.go#L737: func (w *Writer) Reset(dst io.Writer) {
huffman_bit_writer.go#L75: writer io.Writer
huffman_bit_writer.go#L94: func newHuffmanBitWriter(w io.Writer) *huffmanBitWriter {
huffman_bit_writer.go#L106: func (w *huffmanBitWriter) reset(writer io.Writer) {
compress/gzip
gzip.go#L30: w io.Writer
gzip.go#L49: func NewWriter(w io.Writer) *Writer {
gzip.go#L60: func NewWriterLevel(w io.Writer, level int) (*Writer, error) {
gzip.go#L69: func (z *Writer) init(w io.Writer, level int) {
gzip.go#L88: func (z *Writer) Reset(w io.Writer) {
crypto/cipher
io.go#L32: W io.Writer
crypto/tls
common.go#L785: KeyLogWriter io.Writer
encoding/base64
base64.go#L215: w io.Writer
base64.go#L284: func NewEncoder(enc *Encoding, w io.Writer) io.WriteCloser {
encoding/binary
binary.go#L392: func Write(w io.Writer, order ByteOrder, data any) error {
encoding/hex
hex.go#L167: w io.Writer
hex.go#L173: func NewEncoder(w io.Writer) io.Writer {
hex.go#L242: func Dumper(w io.Writer) io.WriteCloser {
hex.go#L247: w io.Writer
encoding/json
stream.go#L182: w io.Writer
stream.go#L192: func NewEncoder(w io.Writer) *Encoder {
encoding/pem
pem.go#L190: out io.Writer
pem.go#L234: func writeHeader(out io.Writer, k, v string) error {
pem.go#L240: func Encode(out io.Writer, b *Block) error {
fmt
print.go#L222: func Fprintf(w io.Writer, format string, a ...any) (n int, err error) {
print.go#L260: func Fprint(w io.Writer, a ...any) (n int, err error) {
print.go#L302: func Fprintln(w io.Writer, a ...any) (n int, err error) {
hash
hash.go#L29: io.Writer
log
log.go#L59: out io.Writer // destination for output
log.go#L71: func New(out io.Writer, prefix string, flag int) *Logger {
log.go#L80: func (l *Logger) SetOutput(w io.Writer) {
log.go#L346: func (l *Logger) Writer() io.Writer {
log.go#L353: func SetOutput(w io.Writer) {
log.go#L380: func Writer() io.Writer {
mime/multipart
formdata.go#L190: type writerOnly struct{ io.Writer }
writer.go#L20: w io.Writer
writer.go#L27: func NewWriter(w io.Writer) *Writer {
writer.go#L97: func (w *Writer) CreatePart(header textproto.MIMEHeader) (io.Writer, error) {
writer.go#L140: func (w *Writer) CreateFormFile(fieldname, filename string) (io.Writer, error) {
writer.go#L151: func (w *Writer) CreateFormField(fieldname string) (io.Writer, error) {
mime/quotedprintable
writer.go#L17: w io.Writer
writer.go#L24: func NewWriter(w io.Writer) *Writer {
net
net.go#L771: func (noWriteTo) WriteTo(io.Writer) (int64, error) {
net.go#L784: func genericWriteTo(c *TCPConn, w io.Writer) (n int64, err error) {
net.go#L841: func (v *Buffers) WriteTo(w io.Writer) (n int64, err error) {
splice_linux.go#L56: func spliceTo(w io.Writer, c *netFD) (written int64, err error, handled bool) {
tcpsock.go#L173: func (c *TCPConn) WriteTo(w io.Writer) (int64, error) {
tcpsock_posix.go#L57: func (c *TCPConn) writeTo(w io.Writer) (int64, error) {
net/http
h2_bundle.go#L1695: w io.Writer
h2_bundle.go#L1838: func http2NewFramer(w io.Writer, r io.Reader) *http2Framer {
h2_bundle.go#L3554: w io.Writer // immutable
h2_bundle.go#L3558: func http2newBufferedWriter(w io.Writer) *http2bufferedWriter {
h2_bundle.go#L3727: io.Writer
header.go#L85: func (h Header) Write(w io.Writer) error {
header.go#L89: func (h Header) write(w io.Writer, trace *httptrace.ClientTrace) error {
header.go#L143: w io.Writer
header.go#L186: func (h Header) WriteSubset(w io.Writer, exclude map[string]bool) error {
header.go#L190: func (h Header) writeSubset(w io.Writer, exclude map[string]bool, trace *httptrace.ClientTrace) error {
http.go#L116: func (noBody) WriteTo(io.Writer) (int64, error) { return 0, nil }
request.go#L570: func (r *Request) Write(w io.Writer) error {
request.go#L580: func (r *Request) WriteProxy(w io.Writer) error {
request.go#L591: func (r *Request) write(w io.Writer, usingProxy bool, extraHeaders Header, waitForContinue func() bool) (err error) {
response.go#L245: func (r *Response) Write(w io.Writer) error {
response.go#L350: _, ok := r.Body.(io.Writer)
server.go#L580: io.Writer
server.go#L885: func newBufioWriterSize(w io.Writer, size int) *bufio.Writer {
transfer.go#L277: func (t *transferWriter) writeHeader(w io.Writer, trace *httptrace.ClientTrace) error {
transfer.go#L337: func (t *transferWriter) writeBody(w io.Writer) (err error) {
transfer.go#L412: func (t *transferWriter) doBodyCopy(dst io.Writer, src io.Reader) (n int64, err error) {
transfer.go#L1130: type bufioFlushWriter struct{ w io.Writer }
net/http/internal
chunked.go#L225: func NewChunkedWriter(w io.Writer) io.WriteCloser {
chunked.go#L232: Wire io.Writer
os
file.go#L245: func (f *File) WriteTo(w io.Writer) (n int64, err error) {
file.go#L262: func (noWriteTo) WriteTo(io.Writer) (int64, error) {
file.go#L274: func genericWriteTo(f *File, w io.Writer) (int64, error) {
zero_copy_linux.go#L27: func (f *File) writeTo(w io.Writer) (written int64, handled bool, err error) {
strings
reader.go#L137: func (r *Reader) WriteTo(w io.Writer) (n int64, err error) {
replace.go#L23: WriteString(w io.Writer, s string) (n int, err error)
replace.go#L101: func (r *Replacer) WriteString(w io.Writer, s string) (n int, err error) {
replace.go#L315: w io.Writer
replace.go#L322: func getStringWriter(w io.Writer) io.StringWriter {
replace.go#L336: func (r *genericReplacer) WriteString(w io.Writer, s string) (n int, err error) {
replace.go#L410: func (r *singleStringReplacer) WriteString(w io.Writer, s string) (n int, err error) {
replace.go#L457: func (r *byteReplacer) WriteString(w io.Writer, s string) (n int, err error) {
replace.go#L550: func (r *byteStringReplacer) WriteString(w io.Writer, s string) (n int, err error) {
vendor/golang.org/x/net/http2/hpack
encode.go#L29: w io.Writer
encode.go#L35: func NewEncoder(w io.Writer) *Encoder {
huffman.go#L21: func HuffmanDecode(w io.Writer, v []byte) (int, error) {
vendor/golang.org/x/text/transform
transform.go#L210: w io.Writer
transform.go#L221: func NewWriter(w io.Writer, t Transformer) *Writer {
vendor/golang.org/x/text/unicode/norm
readwriter.go#L11: w io.Writer
readwriter.go#L66: func (f Form) Writer(w io.Writer) io.WriteCloser {
 |
The pages are generated with Golds v0.7.6. (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. |