fix(TDI-50317): tFileInputPositional don't parse properly when pattern units field is set to Symbols (#6421)

This commit is contained in:
wang wei
2023-10-30 14:57:36 +08:00
committed by GitHub
parent 48fbc6588b
commit 491bb9652c

View File

@@ -5,6 +5,7 @@ import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PushbackInputStream;
import java.io.Reader;
import java.nio.CharBuffer;
public class UnicodeReader extends Reader {
private static final int BOM_SIZE = 4;
@@ -71,4 +72,16 @@ public class UnicodeReader extends Reader {
public void close() throws IOException {
reader.close();
}
public boolean ready() throws IOException {
return reader.ready();
}
public int read() throws IOException {
return reader.read();
}
public int read(CharBuffer target) throws IOException {
return reader.read(target);
}
}