- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 178 for writeBytesWireFormat (0.66 sec)
-
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
dstIndex++; dst[dstIndex++] = (byte) 0x00; writeInt2(passwordLength, dst, dstIndex); return 4; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; if (session.transport.server.security == SECURITY_SHARE && (session.auth.hashesExternal || session.auth.password.length() > 0)) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
assertEquals(c, buffer[pathStart + i * 2]); assertEquals(0, buffer[pathStart + i * 2 + 1]); } } } @Test @DisplayName("Should test writeBytesWireFormat directly") void testWriteBytesWireFormatDirect() { // Given byte[] buffer = new byte[512]; int offset = 100; // First encode to set headerStart
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
writeInt4(impersonationLevel, dst, dstIndex); dstIndex += 4; dst[dstIndex++] = securityFlags; return dstIndex - start; } @Override int writeBytesWireFormat(final byte[] dst, final int dstIndex) { int n = writeString(path, dst, dstIndex); writeInt2(useUnicode ? path.length() * 2 : n, dst, namelen_index); return n; } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java
dstIndex += 2; SMBUtil.writeInt4(this.offset >> 32, dst, dstIndex); dstIndex += 4; return dstIndex - start; } @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java
} @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
&& !((jcifs.smb.NtlmPasswordAuthentication) pwAuth).areHashesExternal() && pwAuth.getPassword().isEmpty(); } @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; if (this.server.security == SmbConstants.SECURITY_SHARE && this.ctx.getCredentials() instanceof NtlmPasswordAuthenticator) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
int paramWords = transaction.writeParameterWordsWireFormat(dst, 0); assertTrue(paramWords >= 0); // Test bytes wire format int bytes = transaction.writeBytesWireFormat(dst, 0); assertTrue(bytes >= 0); } @Test @DisplayName("Test read operations") void testReadOperations() { byte[] buffer = new byte[256];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
return this; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} * * @see jcifs.internal.smb1.ServerMessageBlock#decode(byte[], int) */ @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
paramWordsWritten = 10; // Simulate writing parameter words return paramWordsWritten; } @Override protected int writeBytesWireFormat(byte[] dst, int dstIndex) { bytesWritten = 20; // Simulate writing bytes return bytesWritten; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java
dst[dstIndex++] = (byte) 0x00; writeInt4(capabilities, dst, dstIndex); dstIndex += 4; return dstIndex - start; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; if (blob != null) { System.arraycopy(blob, 0, dst, dstIndex, blob.length); dstIndex += blob.length;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0)