- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for writeWireFormat (0.1 sec)
-
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.2K bytes - Viewed (0)