SimpleHash.toByteSource

Converts a given object into a {@code ByteSource} instance. Assumes the object can be converted to bytes.

@param o the Object to convert into a {@code ByteSource} instance. @return the {@code ByteSource} representation of the specified object's bytes.

class SimpleHash
protected
toByteSource
(
Object o
)

Meta