Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for readWireFormat (0.1 sec)

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

            if( in.read( buffer, bufferIndex, length ) != length ) {
                throw new IOException( "invalid session request wire format" );
            }
            bufferIndex += calledName.readWireFormat( buffer, bufferIndex );
            bufferIndex += callingName.readWireFormat( buffer, bufferIndex );
            return bufferIndex - start;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

            private int altPathOffset;
            private int nodeOffset;
            private String altPath;
    
            int ttl;
            String path = null;
            String node = null;
    
            int readWireFormat( byte[] buffer, int bufferIndex, int len ) {
                int start = bufferIndex;
    
                version = readInt2( buffer, bufferIndex );
    if( version != 3 && version != 1 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/SessionRequestPacket.java

                throw new IOException("invalid session request wire format");
            }
            bufferIndex += this.calledName.readWireFormat(buffer, bufferIndex);
            bufferIndex += this.callingName.readWireFormat(buffer, bufferIndex);
            return bufferIndex - start;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServicePacket.java

            int start = dstIndex;
            dstIndex += writeHeaderWireFormat(dst, dstIndex);
            dstIndex += writeBodyWireFormat(dst, dstIndex);
            return dstIndex - start;
        }
    
    
        int readWireFormat ( byte[] src, int srcIndex ) {
            int start = srcIndex;
            srcIndex += readHeaderWireFormat(src, srcIndex);
            srcIndex += readBodyWireFormat(src, srcIndex);
            return srcIndex - start;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            int start = dstIndex;
            dstIndex += writeHeaderWireFormat( dst, dstIndex );
            dstIndex += writeBodyWireFormat( dst, dstIndex );
            return dstIndex - start;
        }
        int readWireFormat( byte[] src, int srcIndex ) {
            int start = srcIndex;
            srcIndex += readHeaderWireFormat( src, srcIndex );
            srcIndex += readBodyWireFormat( src, srcIndex );
            return srcIndex - start;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/SessionServicePacket.java

            this.length = writeTrailerWireFormat(dst, dstIndex + HEADER_LENGTH);
            writeHeaderWireFormat(dst, dstIndex);
            return HEADER_LENGTH + this.length;
        }
    
    
        int readWireFormat ( InputStream in, byte[] buffer, int bufferIndex ) throws IOException {
            readHeaderWireFormat(in, buffer, bufferIndex);
            return HEADER_LENGTH + readTrailerWireFormat(in, buffer, bufferIndex);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

            length = writeTrailerWireFormat( dst, dstIndex + HEADER_LENGTH );
            writeHeaderWireFormat( dst, dstIndex );
            return HEADER_LENGTH + length;
        }
        int readWireFormat( InputStream in, byte[] buffer, int bufferIndex ) throws IOException {
            readHeaderWireFormat( in, buffer, bufferIndex );
            return HEADER_LENGTH + readTrailerWireFormat( in, buffer, bufferIndex );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/Name.java

            } catch( UnsupportedEncodingException uee ) {
            }
            return SCOPE_OFFSET + writeScopeWireFormat( dst, dstIndex + SCOPE_OFFSET );
        }
    
        int readWireFormat( byte[] src, int srcIndex ) {
    
            byte tmp[] = new byte[SCOPE_OFFSET];
            int length = 15;
            for( int i = 0; i < 15; i++ ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  9. 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 ( byte[] src, int srcIndex ) {
    
            byte tmp[] = new byte[SCOPE_OFFSET];
            int length = 15;
            for ( int i = 0; i < 15; i++ ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.7K bytes
    - Viewed (0)
  10. 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( log.level > 3 ) {
                            log.println( response );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
Back to top