Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for writeBodyWireFormat (0.13 sec)

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

    class NameQueryResponse extends NameServicePacket {
    
        NameQueryResponse(final Configuration config) {
            super(config);
            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);
        }
    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

            // This method is implemented to always return 0
            byte[] dst = new byte[10];
            int dstIndex = 0;
            assertEquals(0, nameQueryResponse.writeBodyWireFormat(dst, dstIndex), "writeBodyWireFormat should always return 0");
        }
    
        @Test
        void readBodyWireFormat_shouldCallReadResourceRecordWireFormat() throws NoSuchFieldException, IllegalAccessException {
    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

         */
    
        NodeStatusResponse(final NbtAddress queryAddress) {
            this.queryAddress = queryAddress;
            recordName = new Name();
            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);
        }
    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

        private static class TestNameServicePacket extends NameServicePacket {
            public TestNameServicePacket(Configuration config) {
                super(config);
            }
    
            @Override
            int writeBodyWireFormat(byte[] dst, int dstIndex) {
                // 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

            assertNotNull(macAddress);
            assertEquals(6, macAddress.length);
        }
    
        @Test
        void writeBodyWireFormat_shouldReturnZero() {
            byte[] dst = new byte[100];
            int result = response.writeBodyWireFormat(dst, 10);
            assertEquals(0, result);
        }
    
        @Test
        void readBodyWireFormat_shouldDelegateToReadResourceRecordWireFormat() throws Exception {
    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