Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for writeBodyWireFormat (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        NameQueryRequest(final Configuration config, final Name name) {
            super(config);
            this.questionName = name;
            this.questionType = NB;
        }
    
        @Override
        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
            return writeQuestionSectionWireFormat(dst, dstIndex);
        }
    
        @Override
        int readBodyWireFormat(final byte[] src, final int srcIndex) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/netbios/NodeStatusRequest.java

        NodeStatusRequest(final Name name) {
            questionName = name;
            questionType = NBSTAT;
            isRecurDesired = false;
            isBroadcast = false;
        }
    
        @Override
        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
            final int tmp = questionName.hexCode;
            questionName.hexCode = 0x00; // type has to be 0x00 for node status
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/netbios/NodeStatusRequest.java

            super(cfg);
            this.questionName = name;
            this.questionType = NBSTAT;
            this.isRecurDesired = false;
            this.isBroadcast = false;
        }
    
        @Override
        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
            final int tmp = this.questionName.hexCode;
            this.questionName.hexCode = 0x00; // type has to be 0x00 for node status
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/netbios/NameQueryRequest.java

    package jcifs.smb1.netbios;
    
    class NameQueryRequest extends NameServicePacket {
    
        NameQueryRequest(final Name name) {
            questionName = name;
            questionType = NB;
        }
    
        @Override
        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
            return writeQuestionSectionWireFormat(dst, dstIndex);
        }
    
        @Override
        int readBodyWireFormat(final byte[] src, final int srcIndex) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/netbios/NodeStatusResponse.java

            super(cfg);
            this.queryAddress = queryAddress;
            this.recordName = new Name(cfg);
            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);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/netbios/NameServicePacket.java

        }
    
        int writeWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            dstIndex += writeHeaderWireFormat(dst, dstIndex);
            dstIndex += writeBodyWireFormat(dst, dstIndex);
            return dstIndex - start;
        }
    
        int readWireFormat(final byte[] src, int srcIndex) {
            final int start = srcIndex;
            srcIndex += readHeaderWireFormat(src, srcIndex);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            questionClass = IN;
        }
    
        int writeWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            dstIndex += writeHeaderWireFormat(dst, dstIndex);
            dstIndex += writeBodyWireFormat(dst, dstIndex);
            return dstIndex - start;
        }
    
        int readWireFormat(final byte[] src, int srcIndex) {
            final int start = srcIndex;
            srcIndex += readHeaderWireFormat(src, srcIndex);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  8. 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);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. 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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  10. 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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
Back to Top