mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00
Kernel: Expose .length() of KBufferBuilder
This commit is contained in:
parent
88f637a505
commit
222079cd80
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…
Add table
Add a link
Reference in a new issue