Show / Hide Table of Contents

Class PacketLayerBase

Inheritance
System.Object
PacketLayerBase
Crc32cLayer
XorEncryptLayer
Namespace: LiteNetLib.Layers
Assembly: LiteNetLib.dll
Syntax
public abstract class PacketLayerBase

Constructors

PacketLayerBase(Int32)

Declaration
protected PacketLayerBase(int extraPacketSizeForLayer)
Parameters
Type Name Description
System.Int32 extraPacketSizeForLayer

Fields

ExtraPacketSizeForLayer

Declaration
public readonly int ExtraPacketSizeForLayer
Field Value
Type Description
System.Int32

Methods

ProcessInboundPacket(IPEndPoint, ref Byte[], ref Int32, ref Int32)

Declaration
public abstract void ProcessInboundPacket(IPEndPoint endPoint, ref byte[] data, ref int offset, ref int length)
Parameters
Type Name Description
System.Net.IPEndPoint endPoint
System.Byte[] data
System.Int32 offset
System.Int32 length

ProcessOutBoundPacket(IPEndPoint, ref Byte[], ref Int32, ref Int32)

Declaration
public abstract void ProcessOutBoundPacket(IPEndPoint endPoint, ref byte[] data, ref int offset, ref int length)
Parameters
Type Name Description
System.Net.IPEndPoint endPoint
System.Byte[] data
System.Int32 offset
System.Int32 length
In This Article
Back to top Generated by DocFX