func (ln bufioLn) ParseMessage(prefix byte) (string, error) {
	data := ln.Trim()
	if len(data) < 1 {
		return "", protoErrorf("Protocol error: expected '%s', got ' '", string(prefix))
	} else if data[0] != prefix {
		return "", protoErrorf("Protocol error: expected '%s', got '%s'", string(prefix), string(data[0]))
	}

	return string(data[1:]), nil
}
// ParseMessage converts the line to a string
ParseMessage converts the line to a string
// ParseMessage converts the line to a string
func (ln bufioLn) ParseMessage(prefix byte) (string, error) {
	data := ln.Trim()
	if len(data) < 1 {
		return "", protoErrorf("Protocol error: expected '%s', got ' '", string(prefix))
	} else if data[0] != prefix {
		return "", protoErrorf("Protocol error: expected '%s', got '%s'", string(prefix), string(data[0]))
	}
	return string(data[1:]), nil
}
func ( ln bufioLn ) ParseMessage ( prefix byte ) ( string , error ) { data := ln . Trim ( ) if len ( data ) < 1 { return " " , protoErrorf ( " " , string ( prefix ) ) } else if data [ 0 ] != prefix { return " " , protoErrorf ( " " , string ( prefix ) , string ( data [ 0 ] ) ) } return string ( data [ 1 : ] ) , nil }
ParseMessage converts the line to a string
ParseMessage converts the line to a string