about summary refs log tree commit diff
path: root/library/std/src/io/buffered/bufreader.rs
AgeCommit message (Expand)AuthorLines
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-28Tweak BufReader::peek() doctest to expose bug in Buffer::read_more()Will Woods-3/+3
2024-09-28Rollup merge of #125404 - a1phyr:fix-read_buf-uses, r=workingjubileeMatthias Krüger-1/+1
2024-09-24Pre-allocate buffers in `File::open_buffered` and `create_buffered`Josh Stone-0/+8
2024-09-23Fix `io::BufReader` uses of `read_buf`Benoît du Garreau-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-15Rollup merge of #130042 - lolbinarycat:bufreaker_peek_eof, r=AmanieuStuart Cook-2/+10
2024-09-09Add missing `#[allow(missing_docs)]` on hack functions in allocUrgau-0/+1
2024-09-06properly handle EOF in BufReader::peekbinarycat-2/+10
2024-08-28allow BufReader::peek to be called on unsized typesbinarycat-0/+2
2024-08-05implement BufReader::peekbinarycat-0/+34
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+2
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-02-21Remove unnecessary map_errKornel-1/+1
2024-02-19Remove an old hack for rustdocPavel Grigorenko-2/+1
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-07-06Rollup merge of #112008 - intruder-kat:master, r=NilstriebMichael Goulet-1/+1
2023-06-17Extend io::copy buffer reuse to BufReader tooThe 8472-1/+1
2023-05-26Fix incorrect documented default bufsize in bufreader/writerKathryn R-1/+1
2023-05-01Relax implicit `R: Sized` bound on `BufReader<R>`Maybe Waffle-12/+15
2022-10-06Avoid defensive re-initialization of the BufReader bufferBen Kimock-0/+8
2022-08-18Address reviewer commentsNick Cameron-2/+2
2022-08-05non-linux platformsNick Cameron-3/+2
2022-08-04std::io: migrate ReadBuf to BorrowBuf/BorrowCursorNick Cameron-7/+8
2022-07-26Add Buffer::consume_with to enable direct buffer access with one checkBen Kimock-3/+1
2022-07-24Rename and document the new BufReader internalsBen Kimock-7/+7
2022-07-24Remove some redundant checks from BufReaderBen Kimock-53/+30
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-1/+1
2022-02-04Hide Repr details from io::Error, and rework `io::Error::new_const`.Thom Chiovoloni-2/+2
2021-11-02implement review suggestionsDrMeepster-1/+1
2021-11-02consolidate 2 unsafe blocks into 1DrMeepster-2/+2
2021-11-02read_bufDrMeepster-16/+43
2021-10-09Apply clippy suggestionsClemens Wasser-6/+5
2021-10-07Optimize File::read_to_end and read_to_stringJohn Kugelman-0/+45
2021-09-25Apply 16 commits (squashed)Frank Steffahn-4/+4
2021-06-10Specialize `io::Bytes::size_hint` for more typesBenoît du Garreau-1/+7
2021-03-21Bump stable version of bufreader_seek_relative.Mara Bos-1/+1
2021-03-10Stabilize `bufreader_seek_relative`philippeitis-1/+1
2021-03-05Rollup merge of #82728 - calebsander:refactor/bufreader-buf, r=m-ou-seMara-4/+3
2021-03-03Avoid unnecessary Vec construction in BufReaderCaleb Sander-4/+3
2021-01-31Remove trailing newlineXavientois-2/+3
2021-01-31Implement SizeHint trait for BufReader, Emtpy, and ChainXavientois-1/+8
2021-01-24Stabilize `Seek::stream_position` & change feature of `Seek::stream_len`Lukas Kalbertodt-1/+0