- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for writeWireFormat (0.2 sec)
-
src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java
} @Override int writeTrailerWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dstIndex += calledName.writeWireFormat(dst, dstIndex); dstIndex += callingName.writeWireFormat(dst, dstIndex); return dstIndex - start; } @Override int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionRequestPacket.java
} @Override int writeTrailerWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dstIndex += this.calledName.writeWireFormat(dst, dstIndex); dstIndex += this.callingName.writeWireFormat(dst, dstIndex); return dstIndex - start; } @Override int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
this.config = config; this.isRecurDesired = true; this.isBroadcast = true; this.questionCount = 1; this.questionClass = IN; } int writeWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dstIndex += writeHeaderWireFormat(dst, dstIndex); dstIndex += writeBodyWireFormat(dst, dstIndex); return dstIndex - start;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
InetAddress addr; NameServicePacket() { isRecurDesired = true; isBroadcast = true; questionCount = 1; questionClass = IN; } int writeWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dstIndex += writeHeaderWireFormat(dst, dstIndex); dstIndex += writeBodyWireFormat(dst, dstIndex); return dstIndex - start;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
* * @param dst the destination byte array to write to * @param dstIndex the starting index in the destination array * @return written bytes */ public int writeWireFormat(final byte[] dst, final int dstIndex) { this.length = writeTrailerWireFormat(dst, dstIndex + HEADER_LENGTH); writeHeaderWireFormat(dst, dstIndex); return HEADER_LENGTH + this.length; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionServicePacket.java
* * @param dst the destination byte array to write to * @param dstIndex the starting index in the destination array * @return the number of bytes written */ public int writeWireFormat(final byte[] dst, final int dstIndex) { length = writeTrailerWireFormat(dst, dstIndex + HEADER_LENGTH); writeHeaderWireFormat(dst, dstIndex); return HEADER_LENGTH + length; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
final OutputStream out = super.getOutputStream(); final SessionServicePacket ssp0 = new SessionRequestPacket(calledName, NbtAddress.localhost.hostName); out.write(buffer, 0, ssp0.writeWireFormat(buffer, 0)); setSoTimeout(soTimeout); type = SessionServicePacket.readPacketType(in, buffer, 0); } catch (final IOException ioe) { close(); throw ioe;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Name.java
} this.name = name.toUpperCase(); this.hexCode = hexCode; this.scope = scope != null && scope.length() > 0 ? scope : DEFAULT_SCOPE; this.srcHashCode = 0; } int writeWireFormat(final byte[] dst, final int dstIndex) { // write 0x20 in first byte dst[dstIndex] = 0x20; // write name try { final byte tmp[] = name.getBytes(Name.OEM_ENCODING);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
* * @return whether this is the unknown address */ public boolean isUnknown() { return "0.0.0.0".equals(this.name) && this.hexCode == 0 && this.scope == null; } int writeWireFormat(final byte[] dst, final int dstIndex) { // write 0x20 in first byte dst[dstIndex] = 0x20; final byte tmp[] = Strings.getOEMBytes(this.name, this.config); int i;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
request.nameTrnId = getNextNameTrnId(); nid = request.nameTrnId; out.setAddress(request.addr); out.setLength(request.writeWireFormat(snd_buf, 0)); response.received = false; responseTable.put(nid, response); ensureOpen(timeout + 1000);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 17.6K bytes - Viewed (0)