Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Network Buffer for organizing network stream data
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GraphicsToolkit.Networking
{
/// <summary>
/// This class helps organize the data required for
/// reading and writing to a network stream
/// </summary>
public class NetworkBuffer
{
public byte[] WriteBuffer;
public byte[] ReadBuffer;
public int CurrentWriteByteCount;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.