Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for readWireFormat (0.09 sec)

  1. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                    if (response == null || response.received) {
                        continue;
                    }
                    synchronized (response) {
                        response.readWireFormat(rcv_buf, 0);
                        response.received = true;
    
                        if (LogStream.level > 3) {
                            log.println(response);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            byte[] dst = new byte[100];
            packet.writeWireFormat(dst, 0);
    
            assertEquals((byte) 0x01, dst[1]); // Extended length bit should be set
        }
    
        @Test
        @DisplayName("readWireFormat should read header and trailer")
        void testReadWireFormat() throws IOException {
            byte[] data = new byte[50];
            data[0] = (byte) 0x85; // SESSION_KEEP_ALIVE
            data[1] = 0x00;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/Name.java

            } catch (final UnsupportedEncodingException uee) {}
            return SCOPE_OFFSET + writeScopeWireFormat(dst, dstIndex + SCOPE_OFFSET);
        }
    
        int readWireFormat(final byte[] src, final int srcIndex) {
    
            final byte tmp[] = new byte[SCOPE_OFFSET];
            int length = 15;
            for (int i = 0; i < 15; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/Name.java

            dst[dstIndex + TYPE_OFFSET + 1] = (byte) ((this.hexCode & 0x0F) + 0x41);
            return SCOPE_OFFSET + writeScopeWireFormat(dst, dstIndex + SCOPE_OFFSET);
        }
    
        int readWireFormat(final byte[] src, final int srcIndex) {
    
            final byte tmp[] = new byte[SCOPE_OFFSET];
            int length = 15;
            for (int i = 0; i < 15; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

             * if there is an andx and it itself is an andx then just recur by
             * calling this method for it. otherwise just read it's parameter words
             * and bytes as usual. Note how we can't just call andx.readWireFormat
             * because there's no header.
             */
    
            if (this.errorCode != 0 || this.andxCommand == (byte) 0xFF) {
                this.andxCommand = (byte) 0xFF;
                this.andx = null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

             * if there is an andx and it itself is an andx then just recur by
             * calling this method for it. otherwise just read it's parameter words
             * and bytes as usual. Note how we can't just call andx.readWireFormat
             * because there's no header.
             */
    
            if (errorCode != 0 || andxCommand == (byte) 0xFF) {
                andxCommand = (byte) 0xFF;
                andx = null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    if (response == null || response.received) {
                        continue;
                    }
                    synchronized (response) {
                        response.readWireFormat(this.rcv_buf, 0);
                        response.received = true;
    
                        if (log.isTraceEnabled()) {
                            log.trace(response.toString());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
Back to top