public final class TypedValue extends Object
Util to efficiently convert byte arrays to various Java types and vice versa. It also provides efficient comparison and hash methods.
public static byte[] getBytes(int mValue)
mValue
- Int to encode as UTF-8 byte array.public static byte[] getBytes(String mValue)
mValue
- String to encode as UTF-8 byte array.public static byte[] getBytes(Double mValue)
mValue
- double value to encode as UTF-8 byte array.Copyright © 2013. All Rights Reserved.