GetData() публичный Метод

Gets the full packet data with a big-endian length prepended onto the payload.
public GetData ( ) : byte[]
Результат byte[]
Пример #1
0
 /// <summary>
 /// Sends the specified packet on the socket.
 /// </summary>
 /// <param name="packet">The packet.</param>
 public void Send(TcpPacket packet)
 {
     this.Send(packet.GetData());
 }
Пример #2
0
 /// <summary>
 /// Sends the specified packet on the socket.
 /// </summary>
 /// <param name="packet">The packet.</param>
 public void Send( TcpPacket packet )
 {
     this.Send( packet.GetData() );
 }