Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for buildHeader (0.16 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

        }
    
        /**
         * Build a minimal SMB2 header for a response at the given offset.
         * The header is prepared as a synchronous response with server-to-redirector flag.
         */
        private void buildHeader(byte[] buf, int start, int status, int command, long sessionId) {
            System.arraycopy(SMBUtil.SMB2_HEADER, 0, buf, start, SMBUtil.SMB2_HEADER.length);
            // Status at +8
            SMBUtil.writeInt4(status, buf, start + 8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top