Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for writeHeaderWireFormat (0.35 sec)

  1. src/main/java/jcifs/netbios/SessionServicePacket.java

         * @param dstIndex
         * @return written bytes
         */
        public int writeWireFormat ( byte[] dst, int dstIndex ) {
            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 {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

            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 );
        }
        int writeHeaderWireFormat( byte[] dst, int dstIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServicePacket.java

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

            isBroadcast = true;
            questionCount = 1;
            questionClass = IN;
        }
    
        int writeWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            dstIndex += writeHeaderWireFormat( dst, dstIndex );
            dstIndex += writeBodyWireFormat( dst, dstIndex );
            return dstIndex - start;
        }
        int readWireFormat( byte[] src, int srcIndex ) {
            int start = srcIndex;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

         * all but the first smb of the chaain do not have a header
         * and therefore we do not want to writeHeaderWireFormat. We
         * just recursivly call writeAndXWireFormat.
         */ 
    
        int encode( byte[] dst, int dstIndex ) {
            int start = headerStart = dstIndex;
    
            dstIndex += writeHeaderWireFormat( dst, dstIndex );
            dstIndex += writeAndXWireFormat( dst, dstIndex );
            length = dstIndex - start;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

         * all but the first smb of the chaain do not have a header
         * and therefore we do not want to writeHeaderWireFormat. We
         * just recursivly call writeAndXWireFormat.
         */
    
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = this.headerStart = dstIndex;
    
            dstIndex += writeHeaderWireFormat(dst, dstIndex);
            dstIndex += writeAndXWireFormat(dst, dstIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            return this.length;
        }
    
    
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = this.headerStart = dstIndex;
            dstIndex += writeHeaderWireFormat(dst, dstIndex);
    
            this.byteCount = writeBytesWireFormat(dst, dstIndex);
            dstIndex += this.byteCount;
            dstIndex += pad8(dstIndex);
    
            this.length = dstIndex - start;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                }
            }
            return len;
        }
        int encode( byte[] dst, int dstIndex ) {
            int start = headerStart = dstIndex;
    
            dstIndex += writeHeaderWireFormat( dst, dstIndex );
            wordCount = writeParameterWordsWireFormat( dst, dstIndex + 1 );
            dst[dstIndex++] = (byte)(( wordCount / 2 ) & 0xFF );
            dstIndex += wordCount;
            wordCount /= 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            }
            return len;
        }
    
    
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = this.headerStart = dstIndex;
    
            dstIndex += writeHeaderWireFormat(dst, dstIndex);
            this.wordCount = writeParameterWordsWireFormat(dst, dstIndex + 1);
            dst[ dstIndex++ ] = (byte) ( ( this.wordCount / 2 ) & 0xFF );
            dstIndex += this.wordCount;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
Back to top