# Functions
Copy copies from src to dst until either EOF is reached on src or an error occurs.
CopyBuffer is identical to Copy except that it stages through the provided buffer (if one is required) rather than allocating a temporary one.
CopyN copies n bytes (or until an error) from src to dst.
Drain drain the reader.
DrainAndClose drain and close the reader.
LimitWriter returns a Writer that writes limited bytes to the underlying writer.
LineWriter return a eol append writer.
NewCompactWriter return a compact writer.
No description provided by the author
NewMimeChunkWriter create a writer for split base64 to 76 characters per line.
NewPemChunkWriter create a writer for split base64 to 76 characters per line.
NewSectionReader returns a SectionReader that reads from r starting at offset off and stops with EOF after n bytes.
NopCloser returns a ReadCloser with a no-op Close method wrapping the provided Reader r.
ReadAll reads from r until an error or EOF and returns the data it read.
ReadAtLeast reads from r into buf until it has read at least min bytes.
ReadFull reads exactly len(buf) bytes from r into buf.
SkipBOM skip bom and return a reader.
SpaceCompactor return a space compact writer.
StripWriter return a string strip writer.
SyncWriter return a synchronized writer.
TeeReader returns a Reader that writes to w what it reads from r.
WrapWriter return a prefix/suffix wrap writer.
WriteString writes the contents of the string s to w, which accepts a slice of bytes.
# Constants
BOM '\uFEFF'.
CR "\r".
CRLF "\r\n".
LF "\n".
MimeChunkSize As required by RFC 2045, 6.8.
PemChunkSize PEM chunk size per RFC 1421 section 4.3.2.4.
# Variables
ConsoleColor console color.
Discard is an io.Writer on which all Write calls succeed without doing anything.
EOL windows: "\r\n" other: "\n".
# Structs
ChunkLineWriter limits text to n characters per line.
No description provided by the author
FileReader a file reader.
MaxBytesError is returned by MaxBytesReader when its read limit is exceeded.
No description provided by the author