@Override public Hasher putBytes(byte[] bytes) { try { stream.write(bytes); } catch (IOException e) { throw new RuntimeException(e); } return this; }
BufferingHasher(int expectedInputSize) { this.stream = new ExposedByteArrayOutputStream(expectedInputSize); }
BufferingHasher(int expectedInputSize) { this.stream = new ExposedByteArrayOutputStream(expectedInputSize); }
BufferingHasher(int expectedInputSize) { this.stream = new ExposedByteArrayOutputStream(expectedInputSize); }
BufferingHasher(int expectedInputSize) { this.stream = new ExposedByteArrayOutputStream(expectedInputSize); }
BufferingHasher(int expectedInputSize) { this.stream = new ExposedByteArrayOutputStream(expectedInputSize); }
BufferingHasher(int expectedInputSize) { this.stream = new ExposedByteArrayOutputStream(expectedInputSize); }
BufferingHasher(int expectedInputSize) { this.stream = new ExposedByteArrayOutputStream(expectedInputSize); }
BufferingHasher(int expectedInputSize) { this.stream = new ExposedByteArrayOutputStream(expectedInputSize); }
BufferingHasher(int expectedInputSize) { this.stream = new ExposedByteArrayOutputStream(expectedInputSize); }
BufferingHasher(int expectedInputSize) { this.stream = new ExposedByteArrayOutputStream(expectedInputSize); }
@Override public Hasher putLong(long l) { for (int i = 0; i < 64; i += 8) { stream.write((byte) ((l >>> i) & BOTTOM_BYTE)); } return this; }
@Override public Hasher putLong(long l) { for (int i = 0; i < 64; i += 8) { stream.write((byte) ((l >>> i) & BOTTOM_BYTE)); } return this; }
@Override public Hasher putBytes(byte[] bytes, int off, int len) { stream.write(bytes, off, len); return this; }
@Override public Hasher putBytes(byte[] bytes, int off, int len) { stream.write(bytes, off, len); return this; }
@Override public Hasher putBytes(byte[] bytes) { try { stream.write(bytes); } catch (IOException e) { throw new RuntimeException(e); } return this; }
@Override public Hasher putByte(byte b) { stream.write(b); return this; }