Ejemplo n.º 1
0
 public BindPDU(byte[] buffer, int offset) : base(buffer, offset)
 {
     offset += CommonFieldsLength;
     MaxTransmitFragmentSize = LittleEndianReader.ReadUInt16(buffer, ref offset);
     MaxReceiveFragmentSize  = LittleEndianReader.ReadUInt16(buffer, ref offset);
     AssociationGroupID      = LittleEndianReader.ReadUInt32(buffer, ref offset);
     ContextList             = new ContextList(buffer, offset);
     offset      += ContextList.Length;
     AuthVerifier = ByteReader.ReadBytes(buffer, offset, AuthLength);
 }
Ejemplo n.º 2
0
 public BindPDU() : base()
 {
     PacketType   = PacketTypeName.Bind;
     ContextList  = new ContextList();
     AuthVerifier = new byte[0];
 }