1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-16 15:16:33 +09:00

Added NetIncomingMessage.PeekDataBuffer()

This commit is contained in:
lidgren
2011-02-10 07:27:04 +00:00
parent 8dee1d3be9
commit 94b8e699b8

View File

@@ -25,6 +25,14 @@ namespace Lidgren.Network
{
public partial class NetIncomingMessage
{
/// <summary>
/// Returns the internal data buffer, don't modify
/// </summary>
public byte[] PeekDataBuffer()
{
return m_data;
}
//
// 1 bit
//