// UnmarshalServers is used to unmarshal multiple servers from their
// binary representation.
UnmarshalServers is used to unmarshal multiple servers from their
binary representation.
// UnmarshalServers is used to unmarshal multiple servers from their // binary representation .
func (*teleportServerMarshaler) UnmarshalServers(bytes []byte) ([]Server, error) {
	var servers []ServerV2
	err := utils.FastUnmarshal(bytes, &servers)
	if err != nil {
		return nil, trace.Wrap(err)
	}
	out := make([]Server, len(servers))
	for i, v := range servers {
		out[i] = Server(&v)
	}
	return out, nil
}
func ( * teleportServerMarshaler ) UnmarshalServers ( bytes [ ] byte ) ( [ ] Server , error ) { var servers [ ] ServerV2 err := utils . FastUnmarshal ( bytes , & servers ) if err != nil { return nil , trace . Wrap ( err ) } out := make ( [ ] Server , len ( servers ) ) for i , v := range servers { out [ i ] = Server ( & v ) } return out , nil }
UnmarshalServers is used to unmarshal multiple servers from their
binary representation.
UnmarshalServers is used to unmarshal multiple servers from their binary representation .