mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:47:35 +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();
|
return m_buffer->bytes();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
size_t length() const
|
||||||
|
{
|
||||||
|
return m_size;
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
explicit KBufferBuilder(NonnullOwnPtr<KBuffer>);
|
explicit KBufferBuilder(NonnullOwnPtr<KBuffer>);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue