Code Monkey home page Code Monkey logo

javadbf's People

Contributors

tbzfish avatar

Watchers

 avatar

javadbf's Issues

Skip MEMO bytes

What steps will reproduce the problem?
1. Try to iteratively read records having Memo fields
2.
3.

What is the expected output? What do you see instead?
The Memo field lenght is not considered and the dataInputStream offset points 
to the wrong offset.

What version of the product are you using? On what operating system?
Version cloned today

Please provide any additional information below.
Proposed fix:
add the following instruction when entering in the "case 'M'" 
(DBFReader.java:294)

dataInputStream.skipBytes(this.header.fieldArray[i].getFieldLength());



Original issue reported on code.google.com by [email protected] on 29 Dec 2013 at 4:02

incorrect usage of skip

What steps will reproduce the problem?
1. read a dbf file from a file using BufferedInputStream
2. skip does not guarantee to skip as many bytes as instructed
3. i fixed this issue in clone vastu-javadbf
4. please pull  ea188732c3ed

Original issue reported on code.google.com by [email protected] on 8 Feb 2014 at 11:14

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.