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); }
public BindPDU() : base() { PacketType = PacketTypeName.Bind; ContextList = new ContextList(); AuthVerifier = new byte[0]; }