Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for writeString (0.18 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                dstIndex += ntHash.length;
        
                dstIndex += writeString( accountName, dst, dstIndex );
                dstIndex += writeString( primaryDomain, dst, dstIndex );
            }
            dstIndex += writeString( session.transport.NATIVE_OS, dst, dstIndex );
            dstIndex += writeString( session.transport.NATIVE_LANMAN, dst, dstIndex );
    
            return dstIndex - start;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                dstIndex += this.ntHash.length;
    
                dstIndex += writeString(this.accountName, dst, dstIndex);
                dstIndex += writeString(this.primaryDomain, dst, dstIndex);
            }
            dstIndex += writeString(getConfig().getNativeOs(), dst, dstIndex);
            dstIndex += writeString(getConfig().getNativeLanman(), dst, dstIndex);
    
            return dstIndex - start;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 17 10:20:23 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            writeInt2( maxDataCount, dst, dstIndex );
            dstIndex += 2;
            writeInt4( serverTypes, dst, dstIndex );
            dstIndex += 4;
            dstIndex += writeString( domain.toUpperCase(), dst, dstIndex, false );
            if( which == 1 ) {
                dstIndex += writeString( lastName.toUpperCase(), dst, dstIndex, false );
            }
    
            return dstIndex - start;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            dstIndex += 2;
            SMBUtil.writeInt4(this.serverTypes, dst, dstIndex);
            dstIndex += 4;
            dstIndex += writeString(this.domain.toUpperCase(), dst, dstIndex, false);
            if ( which == 1 ) {
                dstIndex += writeString(this.lastName.toUpperCase(), dst, dstIndex, false);
            }
    
            return dstIndex - start;
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                } else {
                    // plain text
                    password = new byte[(session.auth.password.length() + 1) * 2];
                    passwordLength = writeString( session.auth.password, password, 0 );
                }
            } else {
                // no password in tree connect
                passwordLength = 1;
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComRename.java

            int start = dstIndex;
    
            dst[dstIndex++] = (byte)0x04;
            dstIndex += writeString( oldFileName, dst, dstIndex );
            dst[dstIndex++] = (byte)0x04;
            if( useUnicode ) {
                dst[dstIndex++] = (byte)'\0';
            }
            dstIndex += writeString( newFileName, dst, dstIndex );
    
            return dstIndex - start;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComDeleteDirectory.java

            return 0;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            dst[ dstIndex++ ] = (byte) 0x04;
            dstIndex += writeString(this.path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java

            return len;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            dst[ dstIndex++ ] = (byte) 0x04;
            dstIndex += writeString(this.path, dst, dstIndex);
            return dstIndex - start;
        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                }
                else {
                    // plain text
                    this.password = new byte[ ( pwAuth.getPassword().length() + 1 ) * 2];
                    this.passwordLength = writeString(pwAuth.getPassword(), this.password, 0);
                }
            }
            else {
                // no password in tree connect
                this.passwordLength = 1;
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

            int start = dstIndex;
    
            dst[ dstIndex++ ] = (byte) 0x04;
            dstIndex += writeString(this.oldFileName, dst, dstIndex);
            dst[ dstIndex++ ] = (byte) 0x04;
            if ( this.isUseUnicode() ) {
                dst[ dstIndex++ ] = (byte) '\0';
            }
            dstIndex += writeString(this.newFileName, dst, dstIndex);
    
            return dstIndex - start;
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.8K bytes
    - Viewed (0)
Back to top