MCPcopy Index your code
hub / github.com/koush/AndroidAsync / update

Method update

AndroidAsync/test/src/com/koushikdutta/async/test/Md5.java:21–26  ·  view source on GitHub ↗
(ByteBufferList bb)

Source from the content-addressed store, hash-verified

19
20 }
21 public void update(ByteBufferList bb) {
22 while (bb.size() > 0) {
23 ByteBuffer b = bb.remove();
24 digest.update(b);
25 }
26 }
27
28 public String digest() {
29 String hash = new BigInteger(digest.digest()).toString(16);

Callers 6

onDataAvailableMethod · 0.80
SHA1Method · 0.80
parsedMethod · 0.80
onDataAvailableMethod · 0.80
toKeyStringMethod · 0.80

Calls 2

sizeMethod · 0.65
removeMethod · 0.65

Tested by

no test coverage detected