2023-10-09 11:49:38 +00:00
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
#include "Buffer.h"
|
|
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
main()
|
|
|
|
{
|
2023-10-09 12:00:38 +00:00
|
|
|
kge::Buffer buffer("hlo, world");
|
|
|
|
|
|
|
|
std::cout << buffer.Contents() << std::endl;
|
|
|
|
|
|
|
|
buffer.Insert(1, (uint8_t *)"el", 2);
|
2023-10-09 11:49:38 +00:00
|
|
|
|
|
|
|
std::cout << buffer.Contents() << std::endl;
|
|
|
|
}
|