Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for fromUNIBytes (0.13 sec)

  1. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

            this.eaSize = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            int shortNameLength = buffer[ bufferIndex ] & 0xFF;
            bufferIndex += 2;
    
            this.shortName = Strings.fromUNIBytes(buffer, bufferIndex, shortNameLength);
            bufferIndex += 24;
    
            String str;
            if ( this.unicode ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

            bufferIndex += 4;
    
            this.fileNameLength = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.fileName = Strings.fromUNIBytes(buffer, bufferIndex, this.fileNameLength);
            bufferIndex += this.fileNameLength;
            return bufferIndex - start;
        }
    
    
        @Override
        public String toString () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 17 08:55:32 UTC 2018
    - 3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/Strings.java

            }
        }
    
    
        /**
         * @param src
         * @param srcIndex
         * @param len
         * @return decoded string
         */
        public static String fromUNIBytes ( byte[] src, int srcIndex, int len ) {
            return new String(src, srcIndex, len, UNI_ENCODING);
        }
    
    
        /**
         * @param buffer
         * @param bufferIndex
         * @param maxLen
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/Referral.java

            // this is not absolutely correct, but we assume that the header is aligned
            if ( ( bufferIndex % 2 ) != 0 ) {
                bufferIndex++;
            }
            return Strings.fromUNIBytes(buffer, bufferIndex, Strings.findUNITermination(buffer, bufferIndex, len));
        }
    
    
        @Override
        public String toString () {
            return new String(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

                len--;
                int size = len * 2;
                if ( size < 0 || size > 0xFFFF )
                    throw new NdrException(NdrException.INVALID_CONFORMANCE);
                val = Strings.fromUNIBytes(this.buf, i, size);
                i += size + 2;
            }
            advance(i - this.index);
            return val;
        }
    
    
        private int getDceReferent ( Object obj ) {
            Entry e;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
Back to top