예제 #1
0
 public RadiusPacket(Stream source)
 {
     DataLength = (int)source.Length;
     Data       = new byte[DataLength];
     source.Read(Data, 0, DataLength);
     Attributes = new RadiusAttributeCollection();
 }
예제 #2
0
 public RadiusPacket()
 {
     Data       = new byte[BUFFER_SIZE];
     Attributes = new RadiusAttributeCollection();
 }