Tim Schumacher
|
ecd1862859
AK: Rename Stream::write_entire_buffer to Stream::write_until_depleted
|
2 years ago |
Tim Schumacher
|
a3f73e7d85
AK: Rename Stream::read_entire_buffer to Stream::read_until_filled
|
2 years ago |
Tim Schumacher
|
d5871f5717
AK: Rename Stream::{read,write} to Stream::{read_some,write_some}
|
2 years ago |
Tim Schumacher
|
874c7bba28
LibCore: Remove `Stream.h`
|
2 years ago |
Tim Schumacher
|
606a3982f3
LibCore: Move Stream-based file into the `Core` namespace
|
2 years ago |
Tim Schumacher
|
a96339b72b
LibCore: Move Stream-based sockets into the `Core` namespace
|
2 years ago |
Tim Schumacher
|
093cf428a3
AK: Move memory streams from `LibCore`
|
2 years ago |
Tim Schumacher
|
11550f582b
Tests: Remove the 10KB file read test for AllocatingMemoryStream
|
2 years ago |
Tim Schumacher
|
2470dd3bb5
AK: Move bit streams from `LibCore`
|
2 years ago |
Tim Schumacher
|
8464da1439
AK: Move `Stream` and `SeekableStream` from `LibCore`
|
2 years ago |
Tim Schumacher
|
5f2ea31816
AK: Move `Handle` from `LibCore` and name it `MaybeOwned`
|
2 years ago |
Ali Mohammad Pur
|
7d4a30af56
LibCore: Avoid logical OOB read in AllocatingMemoryStream::offset_of()
|
2 years ago |
Tim Schumacher
|
daf181caa8
LibCore: Let offset-related Stream functions return an unsigned value
|
2 years ago |
Tim Schumacher
|
add2e2c076
LibCore: Do short forward seeks by discarding bytes from the buffer
|
2 years ago |
Tim Schumacher
|
bdf991fe76
LibCore: Calculate the correct seek offset for buffered streams
|
2 years ago |
Tim Schumacher
|
156b6e83cd
LibCore: Add `AllocatingMemoryStream::offset_of`
|
2 years ago |
Tim Schumacher
|
b4b80b7ec6
LibCore: Add `{Big,Little}EndianOutputBitStream`
|
2 years ago |
Alexander Narsudinov
|
767529ebf5
LibCore: Make UDPServer::receive() return ErrorOr<ByteBuffer>
|
2 years ago |
Tim Schumacher
|
f205f62a44
LibCore: Add an automatically allocating MemoryStream
|
2 years ago |
Tim Schumacher
|
9a3e95785e
LibCore: Propagate errors from `Stream::*_entire_buffer`
|
2 years ago |
Tim Schumacher
|
6c7c5a6786
LibCore: Rename `Stream::*_or_error` to `*_entire_buffer`
|
2 years ago |
Tim Schumacher
|
5061a905ff
LibCore: Remove `Stream::is_{readable,writable}`
|
2 years ago |
sin-ack
|
3f3f45580a
Everywhere: Add sv suffix to strings relying on StringView(char const*)
|
3 years ago |
Sam Atkins
|
d564cf1e89
LibCore+Everywhere: Make Core::Stream read_line() return StringView
|
3 years ago |
Sam Atkins
|
3b1e063d30
LibCore+Everywhere: Make Core::Stream::read() return Bytes
|
3 years ago |
Sam Atkins
|
4d5080388a
LibCore+Tests: Add SeekableStream::truncate()
|
3 years ago |
sin-ack
|
285b2fba96
LibCore+Tests: Remove Core::UDPSocket :^)
|
3 years ago |
sin-ack
|
64f135d90f
LibCore+Userland: Remove Core::TCPSocket :^)
|
3 years ago |
sin-ack
|
04d68117c2
LibCore: Remove Core::LocalSocket :^)
|
3 years ago |
Sam Atkins
|
45cf40653a
Everywhere: Convert ByteBuffer factory methods from Optional -> ErrorOr
|
3 years ago |