Class Utf8
java.lang.Object
org.springframework.security.crypto.codec.Utf8
UTF-8 Charset encoder/decoder.
For internal use only.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
decode
(byte[] bytes) Decode the bytes in UTF-8 form into a String.static byte[]
encode
(CharSequence string) Get the bytes of the String in UTF-8 encoded form.
-
Method Details
-
encode
Get the bytes of the String in UTF-8 encoded form. -
decode
Decode the bytes in UTF-8 form into a String.
-