Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 15 of 15 for outputBuffer (0.04 seconds)

  1. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            byte[] outputBuffer = new byte[testData.length + 100];
            int writtenBytes =
                    compressionService.decompress(compressed, 0, compressed.length, outputBuffer, 50, CompressionService.COMPRESSION_LZ77);
    
            assertEquals(testData.length, writtenBytes);
    
            byte[] extracted = new byte[testData.length];
            System.arraycopy(outputBuffer, 50, extracted, 0, testData.length);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/compression/CompressionService.java

         *
         * @param compressedData the compressed data buffer
         * @param offset the offset in the compressed data buffer
         * @param length the length of compressed data
         * @param outputBuffer the output buffer for decompressed data
         * @param outputOffset the offset in the output buffer
         * @param algorithm the compression algorithm that was used
         * @return the number of bytes written to the output buffer
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java

            if (len > this.outputBuffer.length) {
                throw new SMBProtocolDecodingException("Payload exceeds buffer size");
            }
            System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len);
            return len;
        }
    
        @Override
        public String toString() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

        private final byte[] outputBuffer;
    
        /**
         * Constructs a response for a named pipe transaction.
         *
         * @param config the configuration to use
         * @param inB the input buffer to receive response data
         */
        public TransTransactNamedPipeResponse(final Configuration config, final byte[] inB) {
            super(config);
            this.outputBuffer = inB;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

                throws CIFSException {
            byte[] decompressed = decompress(compressedData, offset, length, algorithm);
            if (outputBuffer.length - outputOffset < decompressed.length) {
                throw new CIFSException("Output buffer too small");
            }
            System.arraycopy(decompressed, 0, outputBuffer, outputOffset, decompressed.length);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
Back to Top