Start proper stream support.

This commit is contained in:
jmsgrogan 2024-01-21 16:27:30 +00:00
parent 5183aa821a
commit e3e03dc31f
34 changed files with 421 additions and 402 deletions

View file

@ -146,6 +146,17 @@ void String::to_bytes(Vector<Byte>& bytes) const
}
}
size_t String::length(const char* arr)
{
size_t len{0};
while(*arr != '\0')
{
arr++;
len++;
}
return len;
}
void String::append(const Vector<Byte>& data)
{
if (data.empty())