directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r169729 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OctetString.java
Date Wed, 11 May 2005 23:37:11 GMT
Author: elecharny
Date: Wed May 11 16:37:10 2005
New Revision: 169729

URL: http://svn.apache.org/viewcvs?rev=169729&view=rev
Log:
Added a method which gives the number of bytes stored in the OctetString

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OctetString.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OctetString.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OctetString.java?rev=169729&r1=169728&r2=169729&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OctetString.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OctetString.java
Wed May 11 16:37:10 2005
@@ -214,4 +214,12 @@
     {
         return isStreamed;
     }
+    
+    /**
+     * @return Returns the length.
+     */
+    public int getLength() 
+    {
+        return length;
+    }
 }



Mime
View raw message