public List < Long > searchPartially ( File f , byte [ ] searchBytes , long startPosition , long maxSizeToRead ) { if ( USE_NIO ) { return searchPartiallyUsingNIO ( f , searchBytes , startPosition , maxSizeToRead , null ) ; } else { return searchPartiallyUsingLegacy ( f , searchBytes , startPosition , maxSizeToRead , null ) ; } }
Search for a sequence of bytes from the file within the specified size range starting at the specified position .