StandardCharsets instead. Will be removed with 6.0.@Deprecated public class LettuceCharsets extends Object
Charset-related utilities.| Modifier and Type | Field and Description |
|---|---|
static Charset |
ASCII
Deprecated.
US-ASCII charset.
|
static Charset |
UTF8
Deprecated.
UTF-8 charset.
|
| Modifier and Type | Method and Description |
|---|---|
static ByteBuffer |
buffer(String s)
Deprecated.
Create a ByteBuffer from a string using ASCII encoding.
|
public static final Charset ASCII
public static final Charset UTF8
public static ByteBuffer buffer(String s)
s - the string.Copyright © 2020 lettuce.io. All rights reserved.