// StartURI writes a '200 URI Start' message.
StartURI writes a '200 URI Start' message.
// StartURI writes a ' 200 URI Start ' message .
func (mw *MessageWriter) StartURI(uri, resumePoint string, size int64, usedMirror bool) {
	fmt.Fprintf(mw.w, "200 URI Start\nURI: %s\n", uri)
	if resumePoint != "" {
		fmt.Fprintf(mw.w, "Resume-Point: %s\n", resumePoint)
	}
	if size > 0 {
		fmt.Fprintf(mw.w, "Size: %d\n", size)
	}
	if usedMirror {
		mw.w.Write([]byte("UsedMirror: true\n"))
	}
	mw.w.Write([]byte("\n"))
}
func ( mw * MessageWriter ) StartURI ( uri , resumePoint string , size int64 , usedMirror bool ) { fmt . Fprintf ( mw . w , " \n \n " , uri ) if resumePoint != " " { fmt . Fprintf ( mw . w , " \n " , resumePoint ) } if size > 0 { fmt . Fprintf ( mw . w , " \n " , size ) } if usedMirror { mw . w . Write ( [ ] byte ( " \n " ) ) } mw . w . Write ( [ ] byte ( " \n " ) ) }
StartURI writes a '200 URI Start' message.
StartURI writes a ' 200 URI Start ' message .