about summary refs log tree commit diff
path: root/library/std/src/io/buffered
AgeCommit message (Expand)AuthorLines
2025-04-01io: Avoid Avoid marking bytes as uninit in `BufReader::peek`Benoît du Garreau-1/+0
2025-03-16Rollup merge of #137890 - lolbinarycat:docs-bufreader-peek-consume, r=Mark-Si...许杰友 Jieyou Xu (Joe)-1/+5
2025-03-02doc: clarify that consume can be called after BufReader::peekbinarycat-1/+5
2025-02-28Fix logic error in Buffer::read_more()Will Woods-2/+2
2025-02-28Tweak BufReader::peek() doctest to expose bug in Buffer::read_more()Will Woods-3/+3
2025-01-11Add inherent versions of MaybeUninit methods for slicesltdk-1/+1
2024-12-21Avoid short writes in LineWriterChris Denton-6/+21
2024-11-26std: update internal uses of `io::const_error!`joboet-3/+3
2024-09-29Fix std tests for wasm32-wasip2 targetNicola Krumschmidt-1/+2
2024-09-28Rollup merge of #125404 - a1phyr:fix-read_buf-uses, r=workingjubileeMatthias Krüger-2/+4
2024-09-24Pre-allocate buffers in `File::open_buffered` and `create_buffered`Josh Stone-1/+29
2024-09-23Fix `io::BufReader` uses of `read_buf`Benoît du Garreau-2/+4
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-15Rollup merge of #130042 - lolbinarycat:bufreaker_peek_eof, r=AmanieuStuart Cook-4/+12
2024-09-09Add missing `#[allow(missing_docs)]` on hack functions in allocUrgau-0/+1
2024-09-06properly handle EOF in BufReader::peekbinarycat-4/+12
2024-08-28allow BufReader::peek to be called on unsized typesbinarycat-0/+2
2024-08-05implement BufReader::peekbinarycat-0/+55
2024-07-29Reformat `use` declarations.Nicholas Nethercote-15/+13
2024-07-26Fix doc nitsJohn Arundel-19/+23
2024-07-14std: Unsafe-wrap std::ioJubilee Young-3/+5
2024-07-12Use ManuallyDrop in BufWriter::into_partsBen Kimock-7/+17
2024-06-20Convert some module-level `//` and `///` comments to `//!`.Nicholas Nethercote-10/+11
2024-04-14Rollup merge of #120900 - marcospb19:std-use-seek-stream-position, r=joshtrip...Guillaume Gomez-2/+5
2024-04-11Factor some common `io::Error` constantsBenoît du Garreau-6/+1
2024-04-10Auto merge of #122393 - a1phyr:specialize_read_buf_exact, r=joboetbors-0/+8
2024-03-20resolve clippy errorsonur-ozkan-4/+3
2024-03-12Specialize many implementations of `Read::read_buf_exact`Benoît du Garreau-0/+8
2024-03-09Rollup merge of #121403 - kornelski:io-oom, r=dtolnayGuillaume Boisseau-1/+1
2024-03-03Fix quadratic behavior of repeated vectored writesJan Verbeek-27/+39
2024-02-21Remove unnecessary map_errKornel-1/+1
2024-02-20Delete architecture-specific memchr code in std::sysArthur Carcano-1/+1
2024-02-19Remove an old hack for rustdocPavel Grigorenko-4/+2
2024-02-11std: use `stream_position` where applicableJoão Marcos P. Bezerra-2/+5
2024-01-29Handle out of memory errors in io:Read::read_to_end()Kornel-0/+1
2023-11-19Rollup merge of #116750 - fintelia:seek_seek_relative, r=Mark-SimulacrumTakayuki Maeda-0/+10
2023-10-20Specialize `Bytes<R>::next` when `R` is a `BufReader`.Nicholas Nethercote-5/+20
2023-10-14Add Seek::seek_relativeJonathan Behrens-0/+10
2023-09-03Use std::io::Error::is_interrupted everywhereBen Kimock-1/+1
2023-07-06Rollup merge of #112008 - intruder-kat:master, r=NilstriebMichael Goulet-2/+2
2023-06-17Extend io::copy buffer reuse to BufReader tooThe 8472-1/+1
2023-05-26Fix incorrect documented default bufsize in bufreader/writerKathryn R-2/+2
2023-05-01Relax implicit `W: Sized` bound on `LineWriter<W>`Maybe Waffle-27/+29
2023-05-01Relax implicit `W: Sized` bound on `BufWriter<W>`Maybe Waffle-68/+70
2023-05-01Relax implicit `R: Sized` bound on `BufReader<R>`Maybe Waffle-12/+15
2023-04-26rewrite: line_long_tail_not_flushed descriptionJosh Soref-3/+4
2023-04-26rewrite: long_line_flushed descriptionJosh Soref-3/+3
2023-04-06Remove an unnecessary `mut` in `BufWriter::into_parts`.管唯宇-1/+1
2023-01-14Remove various double spaces in source comments.André Vennberg-2/+2
2022-10-06Avoid defensive re-initialization of the BufReader bufferBen Kimock-3/+48