harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r411658 - /incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/asn1/ASN1Any.java
Date Mon, 05 Jun 2006 04:36:32 GMT
Author: smishura
Date: Sun Jun  4 21:36:31 2006
New Revision: 411658

URL: http://svn.apache.org/viewvc?rev=411658&view=rev
Log:
Adding javadoc to getDecodedObject() method

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/asn1/ASN1Any.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/asn1/ASN1Any.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/asn1/ASN1Any.java?rev=411658&r1=411657&r2=411658&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/asn1/ASN1Any.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/asn1/ASN1Any.java
Sun Jun  4 21:36:31 2006
@@ -86,6 +86,14 @@
         return getDecodedObject(in);
     }
 
+    /**
+     * Extracts array of bytes that represents full encoding from BER input
+     * stream.
+     * 
+     * @param in -
+     *            BER input stream
+     * @return array of bytes
+     */
     public Object getDecodedObject(BerInputStream in) throws IOException {
         byte[] bytesEncoded = new byte[in.offset - in.tagOffset];
         System.arraycopy(in.buffer, in.tagOffset, bytesEncoded, 0,



Mime
View raw message