mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:07:34 +00:00
LibWeb: Implement "convert line endings to native" algorithm
This adds the "convert line endings to native" algorithm from the FileAPI spec.
This commit is contained in:
parent
0355c72d6a
commit
516ea4d758
2 changed files with 49 additions and 0 deletions
|
@ -26,6 +26,7 @@ struct BlobPropertyBag {
|
|||
Bindings::EndingType endings;
|
||||
};
|
||||
|
||||
[[nodiscard]] ErrorOr<String> convert_line_endings_to_native(String const& string);
|
||||
[[nodiscard]] ErrorOr<ByteBuffer> process_blob_parts(Vector<BlobPart> const& blob_parts);
|
||||
|
||||
class Blob
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue