ladybird/Meta/Lagom/Tools/CodeGenerators
Sam Atkins 3b1e063d30 LibCore+Everywhere: Make Core::Stream::read() return Bytes
A mistake I've repeatedly made is along these lines:
```c++
auto nread = TRY(source_file->read(buffer));
TRY(destination_file->write(buffer));
```

It's a little clunky to have to create a Bytes or StringView from the
buffer's data pointer and the nread, and easy to forget and just use
the buffer. So, this patch changes the read() function to return a
Bytes of the data that were just read.

The other read_foo() methods will be modified in the same way in
subsequent commits.

Fixes #13687
2022-04-16 13:27:51 -04:00
..
IPCCompiler Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibEDID Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibTimeZone Everywhere: Deduplicate day/month name constants 2022-03-18 23:48:50 +00:00
LibUnicode LibCore+Everywhere: Make Core::Stream::read() return Bytes 2022-04-16 13:27:51 -04:00
LibWeb LibWeb: Use generated enum code for property value validation 2022-04-14 14:54:06 +02:00
StateMachineGenerator Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
CMakeLists.txt Meta+LibEDID: Download and generate the PNP ID database 2022-01-23 22:45:21 +00:00