- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for dec_uint16be (0.08 sec)
-
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
throw new SmbException( "EOF" ); } return Encdec.dec_uint16be( tmp, 0 ); } public final int readUnsignedShort() throws SmbException { if((read( tmp, 0, 2 )) < 0 ) { throw new SmbException( "EOF" ); } return Encdec.dec_uint16be( tmp, 0 ) & 0xFFFF; } public final char readChar() throws SmbException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
throw new SmbEndOfFileException(); } return Encdec.dec_uint16be(this.tmp, 0); } @Override public final int readUnsignedShort () throws SmbException { if ( ( read(this.tmp, 0, 2) ) < 0 ) { throw new SmbEndOfFileException(); } return Encdec.dec_uint16be(this.tmp, 0) & 0xFFFF; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 12:01:33 UTC 2020 - 18.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Encdec.java
*/ public static short dec_uint16be( byte[] src, int si ) { return (short)(((src[si] & 0xFF) << 8) | (src[si + 1] & 0xFF)); } public static int dec_uint32be( byte[] src, int si ) { return ((src[si] & 0xFF) << 24) | ((src[si + 1] & 0xFF) << 16) | ((src[si + 2] & 0xFF) << 8) | (src[si + 3] & 0xFF); } public static short dec_uint16le( byte[] src, int si ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
enc_uint32le((int) ( ( l >> 32L ) & 0xFFFFFFFFL ), dst, di + 4); return 8; } public static long dec_uint64be ( byte[] src, int si ) { long l; l = dec_uint32be(src, si) & 0xFFFFFFFFL; l <<= 32L; l |= dec_uint32be(src, si + 4) & 0xFFFFFFFFL; return l; } public static long dec_uint64le ( byte[] src, int si ) { long l;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 11K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
* read from the socket here. */ if (peekKey() == null) /* try to read header */ throw new IOException( "transport closed in negotiate" ); int size = Encdec.dec_uint16be( sbuf, 2 ) & 0xFFFF; if (size < 33 || (4 + size) > sbuf.length ) { throw new IOException( "Invalid payload size: " + size ); } readn( in, sbuf, 4 + 32, size - 32 );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 31.2K bytes - Viewed (0)