Hololens/Lib/UdpSockets.cs
//###########################################################################################
/// <summary>
/// Set attributes for coresponding to new data
/// </summary>
/// <param name="data"> data format to a byte array </param>
/// <param name="packet_size"> the packet size number for data segmentation, must not be greater than </param>
Set attributes for coresponding to new data
Set attributes for coresponding to new data
public void BindData(byte[] data, int packet_size)
        {
            _data = data;
            _packet_size = packet_size;
            SetNbPacket();
        }
public void BindData ( byte [ ] data , int packet_size ) { _data = data ; _packet_size = packet_size ; SetNbPacket ( ) ; }
Set attributes for coresponding to new data
Set attributes for coresponding to new data
data
byte[]
data format to a byte array
data format to a byte array
packet_size
int
the packet size number for data segmentation, must not be greater than
the packet size number for data segmentation must not be greater than