mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-16 07:20:46 +00:00
Kernel: Expose .length() of KBufferBuilder
This commit is contained in:
parent
88f637a505
commit
222079cd80
Notes:
sideshowbarker
2024-07-17 11:15:36 +09:00
Author: https://github.com/MacDue
Commit: 222079cd80
Pull-request: https://github.com/SerenityOS/serenity/pull/13898
Reviewed-by: https://github.com/alimpfard
1 changed files with 5 additions and 0 deletions
|
@ -52,6 +52,11 @@ public:
|
||||||
return m_buffer->bytes();
|
return m_buffer->bytes();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
size_t length() const
|
||||||
|
{
|
||||||
|
return m_size;
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
explicit KBufferBuilder(NonnullOwnPtr<KBuffer>);
|
explicit KBufferBuilder(NonnullOwnPtr<KBuffer>);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue