Novell.Directory.Ldap.Asn1.Asn1OctetString.byteValue C# (CSharp) Method

byteValue() private method

private byteValue ( ) : sbyte[]
return sbyte[]
        public sbyte[] byteValue()
        {
            return content;
        }

Usage Example

示例#1
0
        /* Asn1 TYPE NOT YET SUPPORTED
         * Encode an Asn1BitString directly to a stream.
         * public void encode(Asn1BitString bs, OutputStream out)
         * throws IOException
         * {
         * throw new IOException("LBEREncoder: Encode to a stream not implemented");
         * }
         */

        /// <summary> Encode an Asn1OctetString directly into the specified outputstream.</summary>
        public void encode(Asn1OctetString os, Stream out_Renamed)
        {
            encode(os.getIdentifier(), out_Renamed);
            encodeLength(os.byteValue().Length, out_Renamed);
            sbyte[] temp_sbyteArray;
            temp_sbyteArray = os.byteValue();
            out_Renamed.Write(SupportClass.ToByteArray(temp_sbyteArray), 0, temp_sbyteArray.Length);;;
        }
All Usage Examples Of Novell.Directory.Ldap.Asn1.Asn1OctetString::byteValue