Bujji krishna R B wrote: > > Hello, > > As per the standard X.690, > 8.3.3 : The content octets shall be a two's complement binary number equal > to the integer > Value. > > But in the Book ASN.1 Communication between heterogenous Systems, it is > given as > "binary encoding of the integer if it is positive, or its two's-complement > if it is > negative." > > I would like to know whether an integer value is encoded in 2's Complement > irrespective of whether it is positive or negative . > Or is it that only negative integer values are encoded in 2's complement. > > Thanks, > krishna
Well, you have already given the answer your self - the standard is the standard. All other documents/books are derived documents. Best regards Egon Andersen -- * Talura ApS * Phone: +45 43 52 50 00 * * Baldersh�j 24 B * mailto:[EMAIL PROTECTED] * * DK-2635 Ish�j * http://www.talura.dk *
