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