- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for writeWireFormat (0.08 sec)
-
src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java
this.callingName = callingName; } int writeTrailerWireFormat( byte[] dst, int dstIndex ) { int start = dstIndex; dstIndex += calledName.writeWireFormat( dst, dstIndex ); dstIndex += callingName.writeWireFormat( dst, dstIndex ); return dstIndex - start; } int readTrailerWireFormat( InputStream in, byte[] buffer,
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionRequestPacket.java
} @Override int writeTrailerWireFormat ( byte[] dst, int dstIndex ) { int start = dstIndex; dstIndex += this.calledName.writeWireFormat(dst, dstIndex); dstIndex += this.callingName.writeWireFormat(dst, dstIndex); return dstIndex - start; } @Override int readTrailerWireFormat ( InputStream in, byte[] buffer, int bufferIndex ) throws IOException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
return t; } int type, length; /** * @param dst * @param dstIndex * @return written bytes */ public int writeWireFormat ( byte[] dst, int dstIndex ) { this.length = writeTrailerWireFormat(dst, dstIndex + HEADER_LENGTH); writeHeaderWireFormat(dst, dstIndex); return HEADER_LENGTH + this.length; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionServicePacket.java
throw new IOException( "unexpected EOF reading netbios session header" ); } int t = buffer[bufferIndex] & 0xFF; return t; } int type, length; public int writeWireFormat( byte[] dst, int dstIndex ) { length = writeTrailerWireFormat( dst, dstIndex + HEADER_LENGTH ); writeHeaderWireFormat( dst, dstIndex ); return HEADER_LENGTH + length; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
OutputStream out = super.getOutputStream(); SessionServicePacket ssp0 = new SessionRequestPacket( calledName, NbtAddress.localhost.hostName ); out.write( buffer, 0, ssp0.writeWireFormat( buffer, 0 )); setSoTimeout( soTimeout ); type = ssp0.readPacketType( in, buffer, 0 ); } catch( IOException ioe ) { close(); throw ioe; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 4.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( byte[] dst, int dstIndex ) { // write 0x20 in first byte dst[dstIndex] = 0x20; // write name try { byte tmp[] = name.getBytes( Name.OEM_ENCODING ); int i;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 6.6K 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 ( byte[] dst, int dstIndex ) { // write 0x20 in first byte dst[ dstIndex ] = 0x20; byte tmp[] = Strings.getOEMBytes(this.name, this.config); int i;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7.7K bytes - Viewed (0)