Encode the String to its Buf representation per the charset
Encode the String to its Buf representation per the charset
Some(String representation of the Buf)
This extractor does *not* return None to indicate a failed or impossible decoding. Malformed or unmappable bytes will instead be silently replaced by the replacement character ("�") in the returned String. This behavior may change in the future.
Create and deconstruct buffers encoded by the 7-bit ASCII, also known as ISO646-US or the Basic Latin block of the Unicode character set.
See
,com.twitter.io.Bufs.US_ASCII
for a Java-friendly API.Malformed and unmappable input is silently replaced see java.nio.charset.CodingErrorAction.REPLACE