package obfuscator

import (
	
	

	
)

// Conn is net.Conn wrapper to use Obfuscator.
type Conn struct {
	net.Conn
	Obfuscator
}

// Obfuscated2 creates new obfuscated2 connection.
func ( io.Reader,  net.Conn) *Conn {
	return &Conn{
		Conn:       ,
		Obfuscator: obfuscated2.NewObfuscated2(, ),
	}
}

// FakeTLS creates new FakeTLS connection.
func ( io.Reader,  net.Conn) *Conn {
	return &Conn{
		Conn:       ,
		Obfuscator: newTLS(, ),
	}
}

// Write implements io.Writer.
func ( *Conn) ( []byte) ( int,  error) {
	return .Obfuscator.Write()
}

// Read implements io.Reader.
func ( *Conn) ( []byte) ( int,  error) {
	return .Obfuscator.Read()
}