/* 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);;; }
/* 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, System.IO.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);;; return ; }