Converts the specified Object into a byte array.
<p/>
If the argument is a {@code byte[]}, {@code char[]}, {@link ByteSource}, {@link String}, {@link File}, or
{@link InputStream}, it will be converted automatically and returned.}
<p/>
If the argument is anything other than these types, it is passed to the
{@link #objectToBytes(Object) objectToBytes} method which must be overridden by subclasses.
@param o the Object to convert into a byte array
@return a byte array representation of the Object argument.
Converts the specified Object into a byte array. <p/> If the argument is a {@code byte[]}, {@code char[]}, {@link ByteSource}, {@link String}, {@link File}, or {@link InputStream}, it will be converted automatically and returned.} <p/> If the argument is anything other than these types, it is passed to the {@link #objectToBytes(Object) objectToBytes} method which must be overridden by subclasses.
@param o the Object to convert into a byte array @return a byte array representation of the Object argument.