mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-24 03:25:02 +00:00
Kernel: Expose .length() of KBufferBuilder
This commit is contained in:
parent
88f637a505
commit
222079cd80
|
@ -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…
Reference in a new issue