Closed ztyzbb closed 3 years ago
I'm not sure what do you mean. Can you provide a sample code or file?
Sorry reply late, I'm too busy these days. Code here In java, byte range is 127 to -128, so it's always false when signature compared to 0xF5 and 0xFB. Test code, dbase_f5,dbf located in test resource, b1 is always false.
public static void main(String[] args) throws IOException {
DataInputStream dataInputStream = new DataInputStream(Test1.class.getResourceAsStream("/dbase_f5.dbf"));
byte b = dataInputStream.readByte();
boolean b1 = b == 0xF5;
}
Thanks for your detailed info. I'm releasing a fixed version
com.linuxense.javadbf.DBFHeader#supportsFieldFlags
Left operand is in {-128..1, 3..47, 50..127}
May cause problem when reading an F5 FB file, each field's
reserv2
will lost.