Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for maxLength (0.16 sec)

  1. src/main/java/jcifs/pac/PacUnicodeString.java

    
    @SuppressWarnings ( "javadoc" )
    public class PacUnicodeString {
    
        private short length;
        private short maxLength;
        private int pointer;
    
    
        public PacUnicodeString ( short length, short maxLength, int pointer ) {
            super();
            this.length = length;
            this.maxLength = maxLength;
            this.pointer = pointer;
        }
    
    
        public short getLength () {
            return this.length;
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacDataInputStream.java

            short length = readShort();
            short maxLength = readShort();
            int pointer = readInt();
    
            if ( maxLength < length ) {
                throw new PACDecodingException("Malformed string in PAC");
            }
    
            return new PacUnicodeString(length, maxLength, pointer);
        }
    
    
        public String readString () throws IOException, PACDecodingException {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jul 21 21:19:58 GMT 2018
    - 5.1K bytes
    - Viewed (0)
Back to top