Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for writeHeaderWireFormat (1.06 sec)

  1. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                }
            }
            return len;
        }
    
        int encode(final byte[] dst, int dstIndex) {
            final int start = headerStart = dstIndex;
    
            dstIndex += writeHeaderWireFormat(dst, dstIndex);
            wordCount = writeParameterWordsWireFormat(dst, dstIndex + 1);
            dst[dstIndex] = (byte) (wordCount / 2 & 0xFF);
            dstIndex++;
            dstIndex += wordCount;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NameServicePacketTest.java

            packet.questionCount = 1;
            packet.answerCount = 2;
            packet.authorityCount = 3;
            packet.additionalCount = 4;
    
            int written = packet.writeHeaderWireFormat(dst, 0);
            assertEquals(NameServicePacket.HEADER_LENGTH, written);
    
            assertEquals((byte) 0x12, dst[0]); // nameTrnId
            assertEquals((byte) 0x34, dst[1]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            }
            return len;
        }
    
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = this.headerStart = dstIndex;
    
            dstIndex += writeHeaderWireFormat(dst, dstIndex);
            this.wordCount = writeParameterWordsWireFormat(dst, dstIndex + 1);
            dst[dstIndex] = (byte) (this.wordCount / 2 & 0xFF);
            dstIndex++;
            dstIndex += this.wordCount;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top