@Override int readTrailerWireFormat ( InputStream in, byte[] buffer, int bufferIndex ) throws IOException { if ( in.read(buffer, bufferIndex, this.length) != this.length ) { throw new IOException("unexpected EOF reading netbios retarget session response"); } int addr = readInt4(buffer, bufferIndex); bufferIndex += 4; new NbtAddress(null, addr, false, NbtAddress.B_NODE); readInt2(buffer, bufferIndex); return this.length; } }
@Override int readTrailerWireFormat ( InputStream in, byte[] buffer, int bufferIndex ) throws IOException { if ( in.read(buffer, bufferIndex, this.length) != this.length ) { throw new IOException("unexpected EOF reading netbios retarget session response"); } int addr = readInt4(buffer, bufferIndex); bufferIndex += 4; new NbtAddress(null, addr, false, NbtAddress.B_NODE); readInt2(buffer, bufferIndex); return this.length; } }
int readTrailerWireFormat( InputStream in, byte[] buffer, int bufferIndex ) throws IOException { if( in.read( buffer, bufferIndex, length ) != length ) { throw new IOException( "unexpected EOF reading netbios retarget session response" ); } int addr = readInt4( buffer, bufferIndex ); bufferIndex += 4; retargetAddress = new NbtAddress( null, addr, false, NbtAddress.B_NODE ); retargetPort = readInt2( buffer, bufferIndex ); return length; } }
int readTrailerWireFormat( InputStream in, byte[] buffer, int bufferIndex ) throws IOException { if( in.read( buffer, bufferIndex, length ) != length ) { throw new IOException( "unexpected EOF reading netbios retarget session response" ); } int addr = readInt4( buffer, bufferIndex ); bufferIndex += 4; retargetAddress = new NbtAddress( null, addr, false, NbtAddress.B_NODE ); retargetPort = readInt2( buffer, bufferIndex ); return length; } }
int readTrailerWireFormat( InputStream in, byte[] buffer, int bufferIndex ) throws IOException { if( in.read( buffer, bufferIndex, length ) != length ) { throw new IOException( "unexpected EOF reading netbios retarget session response" ); } int addr = readInt4( buffer, bufferIndex ); bufferIndex += 4; retargetAddress = new NbtAddress( null, addr, false, NbtAddress.B_NODE ); retargetPort = readInt2( buffer, bufferIndex ); return length; } }