func NewAddressFromV2(aV2 *refs.Address) *Address {
	return (*Address)(aV2)
}
NewAddressFromV2 converts v2 Address message to Address.

Nil refs.Address converts to nil.
package object
import (
	"errors"
	"strings"
	cid "github.com/nspcc-dev/neofs-api-go/pkg/container/id"
	"github.com/nspcc-dev/neofs-api-go/v2/refs"
)
type Address refs.Address
var errInvalidAddressString = errors.New("incorrect format of the string object address")
const (
	addressParts     = 2
	addressSeparator = "/"
)