Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createOutputDecodable (0.12 sec)

  1. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            bufferIndex += 4;
            bufferIndex += 4; // Reserved2
    
            this.inputData = createInputDecodable();
            this.outputData = this.outputBuffer == null ? createOutputDecodable() : null;
    
            if (this.inputData != null) {
                this.inputData.decode(buffer, inputOffset, inputCount);
            }
            bufferIndex = Math.max(inputOffset + inputCount, bufferIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            assertThrows(SMBProtocolDecodingException.class, () -> resp.decode(packet, 0));
        }
    
        @Test
        void decodesSrvCopyChunkCopyResponse() throws Exception {
            // Validate createOutputDecodable() mapping and Decodable decode
            byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS);
    
            // Prepare 3 ints: chunksWritten=1, chunkBytesWritten=2, totalBytesWritten=3
            byte[] out = new byte[12];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top