|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Bytes
A simple representation of a byte array of data
Method Summary | |
---|---|
java.lang.String |
base64()
Returns the base64 encoding of these bytes. |
long |
getLength()
get the length of the string. |
java.lang.String |
md5()
Returns the MD5 of these bytes in hex string form. |
java.lang.Object |
md5(boolean binary)
Returns the MD5 of these bytes in hex string form or binary form. |
byte[] |
toByteArray()
|
java.lang.String |
toHex()
Returns data hex string of the binary byte values. |
java.lang.String |
toString()
Returns data as a UTF8 string. |
Method Detail |
---|
java.lang.String md5()
Utils.md5(Object)
java.lang.Object md5(boolean binary)
binary
- whether to return a binary or hex string MD5
Bytes
Utils.md5(Object, boolean)
java.lang.String base64()
Utils.base64(Object)
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toHex()
byte[] toByteArray()
long getLength()
|
© 2023 Vercara, LLC. All Rights Reserved. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |