Code example for HashCode

Methods: asBytes

0
   /** @deprecated use {@link #getContentMD5AsHashCode()} instead. */ 
   @Deprecated 
   @Override 
   public byte[] getContentMD5() { 
      HashCode hashCode = getContentMD5AsHashCode(); 
      return hashCode == null ? null : hashCode.asBytes(); 
   } 
 
   @Override 
   public HashCode getContentMD5AsHashCode() { 
      return contentMD5; 
   } 
 
   /** @deprecated use {@link #setContentMD5(HashCode)} instead. */ 
   @Deprecated 
   @Override 
   public void setContentMD5(byte[] md5) { 
      setContentMD5(md5 == null ? null : HashCode.fromBytes(md5)); 
   }