public interface TextReader
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalUTF(byte[] equalText)
Reads data from ChannelReader and checks if the UTF text matches input text
|
String |
readUTF()
Reads UTF bytes from ChannelReader
|
<A extends Appendable> |
readUTF(A target)
Reads bytes from ChannelReader depending on leading short for length
assuming bytes are UTF-8 encoded passes them to target
|
<A extends Appendable> A readUTF(A target)
target - receiver of converted bytesString readUTF()
boolean equalUTF(byte[] equalText)
equalText - text used for comparisonCopyright © 2018. All Rights Reserved.