SimpleHash.convertSourceToBytes

Acquires the specified {@code source} argument's bytes and returns them in the form of a {@code ByteSource} instance. <p/> This implementation merely delegates to the convenience {@link #toByteSource(Object)} method for generic conversion. Can be overridden by subclasses for source-specific conversion.

@param source the source object to be hashed. @return the source's bytes in the form of a {@code ByteSource} instance.

class SimpleHash
protected
convertSourceToBytes
(
Object source
)

Meta