Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for readBodyWireFormat (0.9 sec)

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

        }
    
        @Override
        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
            return writeQuestionSectionWireFormat(dst, dstIndex);
        }
    
        @Override
        int readBodyWireFormat(final byte[] src, final int srcIndex) {
            return readQuestionSectionWireFormat(src, srcIndex);
        }
    
        @Override
        int writeRDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NodeStatusRequest.java

            final int result = writeQuestionSectionWireFormat(dst, dstIndex);
            questionName.hexCode = tmp;
            return result;
        }
    
        @Override
        int readBodyWireFormat(final byte[] src, final int srcIndex) {
            return 0;
        }
    
        @Override
        int writeRDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            byte[] src = new byte[100];
    
            // Act & Assert
            assertEquals(0, nodeStatusRequest.readBodyWireFormat(src, 0));
            assertEquals(0, nodeStatusRequest.readBodyWireFormat(src, 50));
            assertEquals(0, nodeStatusRequest.readBodyWireFormat(src, 99));
        }
    
        @Test
        void writeRDataWireFormat_shouldAlwaysReturnZero() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NodeStatusRequest.java

            final int result = writeQuestionSectionWireFormat(dst, dstIndex);
            this.questionName.hexCode = tmp;
            return result;
        }
    
        @Override
        int readBodyWireFormat(final byte[] src, final int srcIndex) {
            return 0;
        }
    
        @Override
        int writeRDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NameQueryRequestTest.java

            verify((NameServicePacket) request, times(1)).writeQuestionSectionWireFormat(dst, dstIndex);
            assertEquals(10, result);
        }
    
        @Test
        void testReadBodyWireFormat() {
            // Test that readBodyWireFormat calls readQuestionSectionWireFormat
            NameQueryRequest request = spy(new NameQueryRequest(mockConfig, mockName));
            byte[] src = new byte[100];
            int srcIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NodeStatusResponse.java

            this.macAddress = new byte[6];
        }
    
        @Override
        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readBodyWireFormat(final byte[] src, final int srcIndex) {
            return readResourceRecordWireFormat(src, srcIndex);
        }
    
        @Override
        int writeRDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameQueryRequest.java

        }
    
        @Override
        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
            return writeQuestionSectionWireFormat(dst, dstIndex);
        }
    
        @Override
        int readBodyWireFormat(final byte[] src, final int srcIndex) {
            return readQuestionSectionWireFormat(src, srcIndex);
        }
    
        @Override
        int writeRDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NameServicePacket.java

            return dstIndex - start;
        }
    
        int readWireFormat(final byte[] src, int srcIndex) {
            final int start = srcIndex;
            srcIndex += readHeaderWireFormat(src, srcIndex);
            srcIndex += readBodyWireFormat(src, srcIndex);
            return srcIndex - start;
        }
    
        int writeHeaderWireFormat(final byte[] dst, final int dstIndex) {
            final int start = dstIndex;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            return dstIndex - start;
        }
    
        int readWireFormat(final byte[] src, int srcIndex) {
            final int start = srcIndex;
            srcIndex += readHeaderWireFormat(src, srcIndex);
            srcIndex += readBodyWireFormat(src, srcIndex);
            return srcIndex - start;
        }
    
        int writeHeaderWireFormat(final byte[] dst, final int dstIndex) {
            final int start = dstIndex;
            writeInt2(nameTrnId, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NameQueryResponse.java

        NameQueryResponse() {
            recordName = new Name();
        }
    
        @Override
        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readBodyWireFormat(final byte[] src, final int srcIndex) {
            return readResourceRecordWireFormat(src, srcIndex);
        }
    
        @Override
        int writeRDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top