Uses of Interface
com.exonum.binding.common.hash.PrimitiveSink
| Package | Description |
|---|---|
| com.exonum.binding.common.hash |
Hash functions and related structures.
|
| com.exonum.binding.common.proofs |
-
Uses of PrimitiveSink in com.exonum.binding.common.hash
Subinterfaces of PrimitiveSink in com.exonum.binding.common.hash Modifier and Type Interface Description interfaceHasherAPrimitiveSinkthat can compute a hash code after reading the input.Methods in com.exonum.binding.common.hash that return PrimitiveSink Modifier and Type Method Description PrimitiveSinkPrimitiveSink. putBoolean(boolean b)Puts a boolean into this sink.PrimitiveSinkPrimitiveSink. putByte(byte b)Puts a byte into this sink.PrimitiveSinkPrimitiveSink. putBytes(byte[] bytes)Puts an array of bytes into this sink.PrimitiveSinkPrimitiveSink. putBytes(byte[] bytes, int off, int len)Puts a chunk of an array of bytes into this sink.PrimitiveSinkPrimitiveSink. putBytes(ByteBuffer bytes)Puts the remaining bytes of a byte buffer into this sink.PrimitiveSinkPrimitiveSink. putChar(char c)Puts a character into this sink.PrimitiveSinkPrimitiveSink. putDouble(double d)Puts a double into this sink.PrimitiveSinkPrimitiveSink. putFloat(float f)Puts a float into this sink.PrimitiveSinkPrimitiveSink. putInt(int i)Puts an int into this sink.PrimitiveSinkPrimitiveSink. putLong(long l)Puts a long into this sink.PrimitiveSinkPrimitiveSink. putShort(short s)Puts a short into this sink.PrimitiveSinkPrimitiveSink. putString(CharSequence charSequence, Charset charset)Puts a string into this sink using the given charset.PrimitiveSinkPrimitiveSink. putUnencodedChars(CharSequence charSequence)Puts each 16-bit code unit from theCharSequenceinto this sink.Methods in com.exonum.binding.common.hash with parameters of type PrimitiveSink Modifier and Type Method Description static OutputStreamFunnels. asOutputStream(PrimitiveSink sink)Wraps aPrimitiveSinkas anOutputStream, so it is easy tofunnelan object to aPrimitiveSinkif there is already a way to write the contents of the object to anOutputStream.voidFunnel. funnel(T from, PrimitiveSink into)Sends a stream of data from thefromobject into the sinkinto.voidFunnels.HashCodeFunnel. funnel(HashCode from, PrimitiveSink into) -
Uses of PrimitiveSink in com.exonum.binding.common.proofs
Methods in com.exonum.binding.common.proofs with parameters of type PrimitiveSink Modifier and Type Method Description voidDbKeyCompressedFunnel. funnel(DbKey from, PrimitiveSink into)voidDbKeyFunnel. funnel(DbKey from, PrimitiveSink into)