Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readStringLength (1.7 sec)

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

            int len = str.length() + 1;
            if( useUnicode ) {
                len = str.length() * 2 + 2;
                len = ( offset % 2 ) != 0 ? len + 1 : len;
            }
            return len;
        }
        int readStringLength( byte[] src, int srcIndex, int max ) {
            int len = 0;
            while( src[srcIndex + len] != (byte)0x00 ) {
                if( len++ > max ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            if ( this.useUnicode ) {
                len = str.length() * 2 + 2;
                len = ( offset % 2 ) != 0 ? len + 1 : len;
            }
            return len;
        }
    
    
        protected int readStringLength ( byte[] src, int srcIndex, int max ) {
            int len = 0;
            while ( src[ srcIndex + len ] != (byte) 0x00 ) {
                if ( len++ > max ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
Back to top