- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 46 for ReadUint8 (0.05 sec)
-
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndXResponse.java
bufferIndex += 8; extFileAttributes = readInt4(buffer, bufferIndex); bufferIndex += 4; allocationSize = readInt8(buffer, bufferIndex); bufferIndex += 8; endOfFile = readInt8(buffer, bufferIndex); bufferIndex += 8; fileType = readInt2(buffer, bufferIndex); bufferIndex += 2; deviceState = readInt2(buffer, bufferIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java
public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; this.alloc = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.free = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java
final int start = bufferIndex; final SmbInfoAllocation info = new SmbInfoAllocation(); info.alloc = readInt8(buffer, bufferIndex); bufferIndex += 8; info.free = readInt8(buffer, bufferIndex); bufferIndex += 8; info.sectPerAlloc = readInt4(buffer, bufferIndex); bufferIndex += 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java
final int start = bufferIndex; // Read total allocation units. this.alloc = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; // read caller available allocation units this.free = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; // skip actual free units bufferIndex += 8;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
assertEquals(2, buffer[2]); // Padding assertEquals(0x01, buffer[3]); // Read flags assertEquals(4096, SMBUtil.readInt4(buffer, 4)); // Read length assertEquals(8192L, SMBUtil.readInt8(buffer, 8)); // Offset assertArrayEquals(testFileId, Arrays.copyOfRange(buffer, 16, 32)); // File ID assertEquals(512, SMBUtil.readInt4(buffer, 32)); // Minimum count
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
int bytesEncoded = fileInternalInfo.encode(destinationBuffer, 0); // Verify assertEquals(8, bytesEncoded); assertEquals(expectedIndexNumber, SMBUtil.readInt8(destinationBuffer, 0)); } @Test @DisplayName("Test encode with buffer offset") void testEncodeWithBufferOffset() throws SMBProtocolDecodingException { // First decode to set internal state
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileStandardInfo.java
final int start = bufferIndex; this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.numberOfLinks = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
int bytesEncoded = request.encode(buffer, 0); // Verify assertEquals(14 + nameBytes.length, bytesEncoded); // Check timeout (should be 0) assertEquals(0L, SMBUtil.readInt8(buffer, 0)); // Check name length assertEquals(nameBytes.length, SMBUtil.readInt4(buffer, 8)); // Check timeout specified flag (should be 0) assertEquals(0x0, buffer[12]);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
assertEquals(49, SMBUtil.readInt2(buffer, headerStart)); // Structure size assertEquals(data.length, SMBUtil.readInt4(buffer, headerStart + 4)); // Data length assertEquals(1024L, SMBUtil.readInt8(buffer, headerStart + 8)); // Offset assertArrayEquals(testFileId, Arrays.copyOfRange(buffer, headerStart + 16, headerStart + 32)); // File ID
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java
bufferIndex += 8; this.changeTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.fileAttributes = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0)