Versions in this module Expand all Collapse all v0 v0.12.0 Jul 28, 2026 Changes in this version + var ErrInvalidHeader = errors.New("stdcopy: invalid frame header") + func StdCopy(dstOut, dstErr io.Writer, src io.Reader) (written int64, err error) + func StdCopySingleReader(dst io.Writer, src io.Reader) (int64, error) + func WriteFrame(w io.Writer, t StreamType, payload []byte) (int, error) + type StreamType byte + const StreamStderr + const StreamStdin + const StreamStdout + func ReadFrame(r io.Reader) (StreamType, []byte, error)