Skip to content

Instantly share code, notes, and snippets.

@SeungYup26
SeungYup26 / StringSplit.cpp
Last active January 31, 2024 00:42
C++17 split string
// C++ 17
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
std::vector<std::string> split(const std::string& target, char c)
{
std::string temp;
@JustSomeBacon
JustSomeBacon / MessageBuffer.cs
Created January 27, 2017 22:27
A byte buffer class made originally for projects in C# that deal with Game Maker Studio.
using System;
using System.Text;
/// <summary>
/// This class handles byte buffer arrays.
/// </summary>
public class MessageBuffer
{
/// <summary>
/// The byte buffer.