- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 57 for WriteUint8 (0.05 sec)
-
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
void testDecode() throws SMBProtocolDecodingException { // Prepare buffer with known value long expectedValue = 0x0123456789ABCDEFL; byte[] buffer = new byte[16]; SMBUtil.writeInt8(expectedValue, buffer, 0); // Decode int bytesRead = fileInfo.decode(buffer, 0, buffer.length); // Verify bytes read assertEquals(8, bytesRead);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
// Next command SMBUtil.writeInt4(0, buffer, headerStart + 20); // Message ID SMBUtil.writeInt8(1, buffer, headerStart + 24); // Reserved/Async ID SMBUtil.writeInt8(0, buffer, headerStart + 32); // Session ID SMBUtil.writeInt8(0, buffer, headerStart + 40); // Signature Arrays.fill(buffer, headerStart + 48, headerStart + 64, (byte) 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
* @param val the value to write * @param dst the destination byte array * @param dstIndex the starting index in the destination array */ public static void writeInt8(long val, final byte[] dst, int dstIndex) { dst[dstIndex] = (byte) val; dstIndex++; dst[dstIndex] = (byte) (val >>= 8); dst[++dstIndex] = (byte) (val >>= 8);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileInternalInfo.java
} /** * {@inheritDoc} * * @see jcifs.Encodable#encode(byte[], int) */ @Override public int encode(final byte[] dst, final int dstIndex) { SMBUtil.writeInt8(this.indexNumber, dst, dstIndex); return 8; } @Override public String toString() { return ("SmbQueryFileInternalInfo[" + "indexNumber=" + this.indexNumber + "]"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
// CreationTime SMBUtil.writeInt8(0, buffer, dataOffset + 8); // LastAccessTime SMBUtil.writeInt8(0, buffer, dataOffset + 16); // LastWriteTime SMBUtil.writeInt8(0, buffer, dataOffset + 24); // ChangeTime SMBUtil.writeInt8(0, buffer, dataOffset + 32); // EndOfFile SMBUtil.writeInt8(0, buffer, dataOffset + 40); // AllocationSizeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
SMBUtil.writeInt4(this.nextCommand, dst, dstIndex + 20); SMBUtil.writeInt8(this.mid, dst, dstIndex + 24); if (this.async) { SMBUtil.writeInt8(this.asyncId, dst, dstIndex + 32); } else { // 4 reserved SMBUtil.writeInt4(this.treeId, dst, dstIndex + 36); } SMBUtil.writeInt8(this.sessionId, dst, dstIndex + 40);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
SMBUtil.writeTime(mtime, body, i); // LastWriteTime i += 8; SMBUtil.writeTime(chtime, body, i); // ChangeTime i += 8; SMBUtil.writeInt8(allocSize, body, i); // AllocationSize i += 8; SMBUtil.writeInt8(eof, body, i); // EndOfFile i += 8; SMBUtil.writeInt4(attrs, body, i); // FileAttributes i += 4; i += 4; // Reserved2
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)