mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +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: https://github.com/SerenityOS/serenity/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();
|
||||
}
|
||||
|
||||
size_t length() const
|
||||
{
|
||||
return m_size;
|
||||
}
|
||||
|
||||
private:
|
||||
explicit KBufferBuilder(NonnullOwnPtr<KBuffer>);
|
||||
|
||||
|
|
Loading…
Reference in a new issue