Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for readShort (0.22 sec)

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

            return this.dis.readChar();
        }
    
    
        public byte readByte () throws IOException {
            return this.dis.readByte();
        }
    
    
        public short readShort () throws IOException {
            align(2);
            return Short.reverseBytes(this.dis.readShort());
        }
    
    
        public int readInt () throws IOException {
            align(4);
            return Integer.reverseBytes(this.dis.readInt());
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 21 21:19:58 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacLogonInfo.java

                PacUnicodeString homeDriveString = pacStream.readUnicodeString();
    
                // Some counts
                this.logonCount = pacStream.readShort();
                this.badPasswordCount = pacStream.readShort();
    
                // IDs for user
                SID userId = pacStream.readId();
                SID groupId = pacStream.readId();
    
                // Groups information
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            if ( ( read(this.tmp, 0, 1) ) < 0 ) {
                throw new SmbEndOfFileException();
            }
            return this.tmp[ 0 ] & 0xFF;
        }
    
    
        @Override
        public final short readShort () throws SmbException {
            if ( ( read(this.tmp, 0, 2) ) < 0 ) {
                throw new SmbEndOfFileException();
            }
            return Encdec.dec_uint16be(this.tmp, 0);
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        public final int readUnsignedByte() throws SmbException {
            if((read( tmp, 0, 1 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return tmp[0] & 0xFF;
        }
        public final short readShort() throws SmbException {
            if((read( tmp, 0, 2 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint16be( tmp, 0 );
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

                    ((src[index + 2] & 0xff) << 16) |
                    ((src[index + 3] & 0xff) << 24);
        }
    
        static int readUShort(byte[] src, int index) {
            return (src[index] & 0xff) | ((src[index + 1] & 0xff) << 8);
        }
    
        static byte[] readSecurityBuffer(byte[] src, int index) {
            int length = readUShort(src, index);
            int offset = readULong(src, index + 4);
            byte[] buffer = new byte[length];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/NtlmMessage.java

                    | ( ( src[ index + 3 ] & 0xff ) << 24 );
        }
    
    
        static int readUShort ( byte[] src, int index ) {
            return ( src[ index ] & 0xff ) | ( ( src[ index + 1 ] & 0xff ) << 8 );
        }
    
    
        static byte[] readSecurityBuffer ( byte[] src, int index ) {
            int length = readUShort(src, index);
            int offset = readULong(src, index + 4);
            byte[] buffer = new byte[length];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.1K bytes
    - Viewed (0)
Back to top