func (w *internalDataWriter) Write(data []byte) (n int, err error) {
	var n64 int64

	n64, err = w.write64(data)
	n = int(n64)
	if int64(n) != n64 {
		panic(errOverflow)
	}

	return n, err
}
func (w *internalDataWriter) Write(data []byte) (n int, err error) {
	var n64 int64

	n64, err = w.write64(data)
	n = int(n64)
	if int64(n) != n64 {
		panic(errOverflow)
	}

	return n, err
}
func ( w * internalDataWriter ) Write ( data [ ] byte ) ( n int , err error ) { var n64 int64 n64 , err = w . write64 ( data ) n = int ( n64 ) if int64 ( n ) != n64 { panic ( errOverflow ) } return n , err }
// Write writes the TELNET (and TELNETS) escaped data for of the data in 'data' to the wrapped io.Writer.
Write writes the TELNET ( and TELNETS ) escaped data for of the data in data to the wrapped io . Writer .