Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for readBodyWireFormat (0.08 sec)

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

            this.recordName = new Name(config);
        }
    
        @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
    - 2.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            // The method should return the number of bytes read by readResourceRecordWireFormat
            int result = nameQueryResponse.readBodyWireFormat(src, srcIndex);
            assertEquals(12 + 6, result, "readBodyWireFormat should return the total bytes read");
        }
    
        @Test
        void writeRDataWireFormat_shouldReturnZero() {
            // This method is implemented to always return 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

            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)
  4. src/test/java/jcifs/netbios/NameServicePacketTest.java

            int writeBodyWireFormat(byte[] dst, int dstIndex) {
                // For testing purposes, we can return a fixed length or mock behavior
                return 0;
            }
    
            @Override
            int readBodyWireFormat(byte[] src, int srcIndex) {
                // For testing purposes, we can return a fixed length or mock behavior
                return 0;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            questionNameField.setAccessible(true);
            questionNameField.set(response, new Name(mockConfig));
    
            int result = response.readBodyWireFormat(src, srcIndex);
            assertTrue(result > 0);
        }
    
        @Test
        void writeRDataWireFormat_shouldReturnZero() {
            byte[] dst = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top