@FunctionalInterface public interface StopCharsTester
| Modifier and Type | Method and Description |
|---|---|
default StopCharsTester |
escaping() |
boolean |
isStopChar(int ch,
int ch2)
Detect which byte or bytes stops the string to be parsed
|
boolean isStopChar(int ch,
int ch2)
throws net.openhft.chronicle.core.io.IORuntimeException
This should be changed to support char instead.
Note: for safety reasons, you should stop on a 0 byte or throw an IllegalStateException.
ch - to test, 0 should return true or throw an exception.ch2 - to test, 0 should return true or throw an exception.IORuntimeException - if an invalid character like 0 was detected.net.openhft.chronicle.core.io.IORuntimeException@NotNull default StopCharsTester escaping()
Copyright © 2016. All rights reserved.