mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03: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
@ -52,6 +52,11 @@ public:
|
||||
return m_buffer->bytes();
|
||||
}
|
||||
|
||||
size_t length() const
|
||||
{
|
||||
return m_size;
|
||||
}
|
||||
|
||||
private:
|
||||
explicit KBufferBuilder(NonnullOwnPtr<KBuffer>);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user