1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 12:00:49 +00:00

Kernel: Expose .length() of KBufferBuilder

This commit is contained in:
MacDue 2022-05-04 16:21:31 +01:00 committed by Ali Mohammad Pur
parent 88f637a505
commit 222079cd80

View File

@ -52,6 +52,11 @@ public:
return m_buffer->bytes();
}
size_t length() const
{
return m_size;
}
private:
explicit KBufferBuilder(NonnullOwnPtr<KBuffer>);