ByteSourceUtil.bytes

Returns a new {@code ByteSource} instance representing the specified string's bytes. The byte array is obtained assuming {@code UTF-8} encoding.

@param string the string to represent as a {@code ByteSource} instance. @return a new {@code ByteSource} instance representing the specified string's bytes.

Meta