- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getFilePointer (0.07 sec)
-
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
SmbRandomAccessFile raf = newInstance("r", false, false, false); assertEquals(0L, raf.getFilePointer()); int skipped = raf.skipBytes(5); assertEquals(5, skipped); assertEquals(5L, raf.getFilePointer()); assertEquals(0, raf.skipBytes(-3)); } @Test @DisplayName("seek() and getFilePointer(): set and get position") void seek_and_getFilePointer() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
} /** * Returns the current position of the file pointer. * * @return the current file pointer position * @throws SmbException if an I/O error occurs */ public long getFilePointer() throws SmbException { return fp; } /** * Sets the file pointer to the specified position. * * @param pos the new file pointer position
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0)