Created
April 14, 2012 01:46
-
-
Save bschwind/2381450 to your computer and use it in GitHub Desktop.
Network Buffer for organizing network stream data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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