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
Notes: sideshowbarker 2024-07-17 11:15:36 +09:00

View file

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